Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.444 kb
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "dokuen/version"
require 'rake'
def sys(cmd)
system(cmd) or raise "Error running #{cmd}"
end
task :build do
sys "gem build dokuen.gemspec"
end
task :release => :build do
sys "git tag -a -m 'tag version #{Dokuen::VERSION}' v#{Dokuen::VERSION}"
sys "git push origin master --tags"
sys "git push github master --tags"
sys "gem push dokuen-#{Dokuen::VERSION}.gem"
end
Jump to Line
Something went wrong with that request. Please try again.