Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 455 Bytes
require "rspec/core/rake_task"
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'sax-machine'
desc "Run all specs"
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
end
task :default => [:spec]
task :test do
sh 'rspec spec'
end
task :install do
rm_rf "*.gem"
puts `gem build sax-machine.gemspec`
puts `sudo gem install sax-machine-#{SAXMachine::VERSION}.gem`
end
Jump to Line
Something went wrong with that request. Please try again.