mirror of
https://github.com/seejohnrun/haste-client.git
synced 2025-12-12 23:05:56 +00:00
Remove unused pieces of Rakefile
This commit is contained in:
14
Rakefile
14
Rakefile
@@ -1,7 +1,6 @@
|
|||||||
require 'rspec/core/rake_task'
|
|
||||||
require File.dirname(__FILE__) + '/lib/haste/version'
|
require File.dirname(__FILE__) + '/lib/haste/version'
|
||||||
|
|
||||||
task :build => :test do
|
task :build do
|
||||||
system "gem build haste.gemspec"
|
system "gem build haste.gemspec"
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -12,14 +11,3 @@ task :release => :build do
|
|||||||
# push the gem
|
# push the gem
|
||||||
system "gem push haste-#{Haste::VERSION}.gem"
|
system "gem push haste-#{Haste::VERSION}.gem"
|
||||||
end
|
end
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:test) do |t|
|
|
||||||
t.pattern = 'spec/**/*_spec.rb'
|
|
||||||
fail_on_error = true # be explicit
|
|
||||||
end
|
|
||||||
|
|
||||||
RSpec::Core::RakeTask.new(:rcov) do |t|
|
|
||||||
t.pattern = 'spec/**/*_spec.rb'
|
|
||||||
t.rcov = true
|
|
||||||
fail_on_error = true # be explicit
|
|
||||||
end
|
|
||||||
|
|||||||
Reference in New Issue
Block a user