Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (25 sloc) 0.556 kB
task :default => :test
desc "Run unit tests"
task :test do
ruby "-Ilib bin/turn -Ilib -v test/*.rb"
end
desc "build gem package"
task :gem => ['.ruby'] do
sh 'gem build .gemspec'
sh 'mv *.gem pkg/'
end
file '.ruby' => ['Profile', 'lib/turn/version.rb'] do
sh 'dotruby source Profile'
end
# Might be useful one day, so we'll leave it here.
#
# Rake::TaskManager.class_eval do
# def remove_task(task_name)
# @tasks.delete(task_name.to_s)
# end
# end
#
# def remove_task(task_name)
# Rake.application.remove_task(task_name)
# end
# EOF
Jump to Line
Something went wrong with that request. Please try again.