1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2025-12-12 14:55:56 +00:00

Add tests back to Rakefile

This commit is contained in:
John Crepezzi
2013-11-16 10:12:19 -05:00
parent 425c80e318
commit f299892b37

View File

@@ -1,6 +1,7 @@
require 'rspec/core/rake_task'
require File.dirname(__FILE__) + '/lib/haste/version'
task :build do
task :build => :test do
system "gem build haste.gemspec"
end
@@ -11,3 +12,8 @@ task :release => :build do
# push the gem
system "gem push haste-#{Haste::VERSION}.gem"
end
RSpec::Core::RakeTask.new(:test) do |t|
t.pattern = 'spec/**/*_spec.rb'
fail_on_error = true # be explicit
end