Changing rake default from verify_rcov to spec
This commit is contained in:
parent
f1b4486594
commit
ba3e29d2a3
8
Rakefile
8
Rakefile
|
@ -67,10 +67,6 @@ RCov::VerifyTask.new(:verify_rcov => :rcov) do |t|
|
||||||
t.threshold = 96.2 # Make sure you have rcov 0.7 or higher!
|
t.threshold = 96.2 # Make sure you have rcov 0.7 or higher!
|
||||||
end
|
end
|
||||||
|
|
||||||
task :default do
|
|
||||||
Rake::Task["verify_rcov"].invoke
|
|
||||||
end
|
|
||||||
|
|
||||||
desc 'Install the package as a gem.'
|
desc 'Install the package as a gem.'
|
||||||
task :install_gem => [:clean, :package] do
|
task :install_gem => [:clean, :package] do
|
||||||
gem = Dir['pkg/*.gem'].first
|
gem = Dir['pkg/*.gem'].first
|
||||||
|
@ -90,4 +86,6 @@ end
|
||||||
desc "Run specs using jruby"
|
desc "Run specs using jruby"
|
||||||
task "spec:jruby" do
|
task "spec:jruby" do
|
||||||
system "jruby -S rake spec"
|
system "jruby -S rake spec"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :default => :spec
|
Loading…
Reference in New Issue