Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (42 sloc) 1.312 kb
task :default => :test
desc "Run tests"
task :test do
Dir['test/**/*_test.rb'].each { |file| require file }
end
desc "Kick it"
task :kick do
exec "kicker -e rake test lib"
end
begin
require 'jeweler'
$LOAD_PATH.unshift 'lib'
require 'github/markup/version'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "github-markup"
gemspec.summary = "The code we use to render README.your_favorite_markup"
gemspec.description = "The code we use to render README.your_favorite_markup"
gemspec.email = "chris@ozmm.org"
gemspec.homepage = "http://github.com/defunkt/github-markup"
gemspec.authors = ["Chris Wanstrath"]
gemspec.version = GitHub::Markup::Version
end
rescue LoadError
warn "Jeweler not available."
warn "Install it with: gem install jeweler"
end
begin
require 'sdoc_helpers'
rescue LoadError
warn "sdoc support not enabled. Please gem install sdoc-helpers."
end
desc "Build a gem"
task :gem => [ :gemspec, :build ]
desc "Push a new version to Gemcutter"
task :publish => [ :test, :gemspec, :build ] do
system "git tag v#{GitHub::Markup::Version}"
system "git push origin v#{GitHub::Markup::Version}"
system "git push origin master"
system "gem push pkg/github-markup-#{GitHub::Markup::Version}.gem"
system "git clean -fd"
#exec "rake pages"
end
Jump to Line
Something went wrong with that request. Please try again.