Rakefile in qlang-0.0.27182000 vs Rakefile in qlang-0.0.27182100

- old
+ new

@@ -1,7 +1,20 @@ require "bundler/gem_tasks" -require "rspec/core/rake_task" +require "rake/testtask" -RSpec::Core::RakeTask.new(:spec) +Rake::TestTask.new(:test) do |t| + t.libs << "test" + t.test_files = FileList['test/**/test_*.rb'] +end -task :default => :spec +require "rake/extensiontask" +Rake::ExtensionTask.new("qlang") do |ext| + ext.lib_dir = "lib/qlang" +end + +task :compile_and_test do + Rake::Task["compile"].invoke + Rake::Task["test"].invoke +end + +task default: :compile_and_test