Sha256: 05fc5410991f6178288534a9991e55c6def7bc03ae220d31e5397bcadf24009b

Contents?: true

Size: 1.28 KB

Versions: 8

Compression:

Stored size: 1.28 KB

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
github-markup-0.4.0 Rakefile
github-markup-0.3.3 Rakefile
github-markup-0.3.2 Rakefile
github-markup-0.3.1 Rakefile
github-markup-0.3.0 Rakefile
github-markup-0.2.2 Rakefile
github-markup-0.2.1 Rakefile
github-markup-0.2.0 Rakefile