Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (23 sloc) 0.5 kB
def command?(command)
system("type #{command} > /dev/null 2>&1")
end
#
# Tests
#
task :default => :test
desc "Run the test suite"
task :test do
sh('turn test/**/*_test.rb')
end
#
# Publishing
#
desc "Push a new version to Gemcutter"
task :publish do
require 'git-scribe/version'
sh "gem build git-scribe.gemspec"
sh "gem push git-scribe-#{GitScribe::Version}.gem"
sh "git tag v#{GitScribe::Version}"
sh "git push origin v#{GitScribe::Version}"
sh "git push origin master"
end
Jump to Line
Something went wrong with that request. Please try again.