Sha256: bb8eb10fea4ac6da9ea933dceb52e81e0744cb2d0cb43a0abf463235fc3760e4

Contents?: true

Size: 500 Bytes

Versions: 5

Compression:

Stored size: 500 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
git-scribe-0.0.9 Rakefile
git-scribe-0.0.8 Rakefile
git-scribe-0.0.7 Rakefile
git-scribe-0.0.6 Rakefile
git-scribe-0.0.5 Rakefile