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

Update specs & fix Rakefile

This commit is contained in:
John Crepezzi
2014-11-01 10:31:58 -04:00
parent 22ea2e9e3c
commit 82ae343455
2 changed files with 5 additions and 6 deletions

View File

@@ -1,7 +1,9 @@
require 'rspec/core/rake_task'
require File.dirname(__FILE__) + '/lib/haste/version'
task :build => :test do
RSpec::Core::RakeTask.new(:spec)
task :build => :spec do
system "gem build haste.gemspec"
end
@@ -12,8 +14,3 @@ 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

View File

@@ -1 +1,3 @@
require 'ostruct'
require File.dirname(__FILE__) + '/../lib/haste'