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:
9
Rakefile
9
Rakefile
@@ -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
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
require 'ostruct'
|
||||
|
||||
require File.dirname(__FILE__) + '/../lib/haste'
|
||||
|
||||
Reference in New Issue
Block a user