diff options
| author | Tom Black <[email protected]> | 2015-11-13 00:36:53 -0500 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2015-11-13 00:36:53 -0500 |
| commit | 80f9a27318c30352c9e53a3576308499fa542925 (patch) | |
| tree | b9163ca60b7b5015f6ff4ab201571269c61ae7f8 /Rakefile | |
| parent | f620def8c2e5b876edc9236d1e1b6bca22eed796 (diff) | |
| download | ruby2d-80f9a27318c30352c9e53a3576308499fa542925.tar.gz ruby2d-80f9a27318c30352c9e53a3576308499fa542925.zip | |
Use `Ruby2D::VERSION` when building gem
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,5 @@ require 'rspec/core/rake_task' +require './lib/ruby2d/version' task default: 'all' @@ -17,12 +18,12 @@ desc "Build Gem" task :build do puts "==> uninstall gem" system "gem uninstall ruby2d --executables" - + puts "==> build gem" system "gem build ruby2d.gemspec --verbose" - + puts "==> install gem" - system "gem install ruby2d-0.0.0.gem --local" # --verbose + system "gem install ruby2d-#{Ruby2D::VERSION}.gem --local" end desc "Run testcard" |
