Rakefile in rubype-0.1.0 vs Rakefile in rubype-0.2.0
- old
+ new
@@ -3,12 +3,17 @@
Rake::TestTask.new(:test) do |t|
t.libs << "test"
end
-task :default => :test
-
require "rake/extensiontask"
Rake::ExtensionTask.new("rubype") do |ext|
ext.lib_dir = "lib/rubype"
end
+
+task :compile_and_test do
+ Rake::Task['compile'].invoke
+ Rake::Task['test'].invoke
+end
+
+task default: :compile_and_test