diff options
| author | Tom Black <[email protected]> | 2019-04-15 23:44:05 -0500 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2019-04-18 17:38:42 -0500 |
| commit | fc98095b18995c8744601c21c94e31be565d4c4b (patch) | |
| tree | 69cd8a3a9d94c107532ccf55c5a6f56dd3c5083f /Rakefile | |
| parent | b844eee8245e4618db947ea12ed4cb89f0a4b8fb (diff) | |
| download | ruby2d-fc98095b18995c8744601c21c94e31be565d4c4b.tar.gz ruby2d-fc98095b18995c8744601c21c94e31be565d4c4b.zip | |
Bundle Linux dependencies
Also clean up `extconf.rb` generally and add new `rake dev` task to use user-installed libraries.
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -56,6 +56,12 @@ end task default: 'all' +desc "Run default tasks using user-installed libraries" +task :dev do + $libs = '-- libs' + Rake::Task['all'].invoke +end + desc "Uninstall gem" task :uninstall do print_task "Uninstalling" @@ -71,7 +77,7 @@ end desc "Install gem" task :install do print_task "Installing" - run_cmd "gem install ruby2d-#{Ruby2D::VERSION}.gem --local --verbose" + run_cmd "gem install ruby2d-#{Ruby2D::VERSION}.gem --local --verbose #{$libs}" end desc "Update submodules" |
