From fc98095b18995c8744601c21c94e31be565d4c4b Mon Sep 17 00:00:00 2001 From: Tom Black Date: Mon, 15 Apr 2019 23:44:05 -0500 Subject: Bundle Linux dependencies Also clean up `extconf.rb` generally and add new `rake dev` task to use user-installed libraries. --- Rakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 6dc53f3..398bfc6 100644 --- a/Rakefile +++ b/Rakefile @@ -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" -- cgit v1.2.3