Rakefile in github-markup-0.4.0 vs Rakefile in github-markup-0.5.0
- old
+ new
@@ -7,42 +7,5 @@
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