Rakefile in carrasco-0.1.3 vs Rakefile in carrasco-0.1.4
- old
+ new
@@ -5,6 +5,23 @@
t.libs << "test"
t.libs << "lib"
t.test_files = FileList['test/**/*_test.rb']
end
-task :default => :test
+namespace :test do
+ task :coveralls do
+ ENV["COVERALLS"] = "true"
+ Rake::Task["test:coverage"].invoke
+ end
+
+ task :coverage do
+ ENV["COVERAGE"] = "true"
+ Rake::Task["test"].invoke
+ end
+
+ task :scrutinizer do
+ ENV["SCRUTINIZER"] = "true"
+ Rake::Task["test"].invoke
+ end
+end
+
+task default: :test