Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (25 sloc) 0.687 kb
$:.unshift 'lib'
task :default => :test
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test' << '.'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
desc "Open an irb session preloaded with this library"
task :console do
sh "irb -rubygems -r ./lib/whmcs.rb -I ./lib"
end
require 'sdoc_helpers'
desc "Push a new version to Gemcutter"
task :publish do
require 'whmcs/version'
ver = WHMCS::Version
sh "gem build whmcs-ruby.gemspec"
sh "gem push whmcs-ruby-#{ver}.gem"
sh "git tag -a -m 'whmcs-ruby v#{ver}' v#{ver}"
sh "git push origin v#{ver}"
sh "git push origin master"
sh "git clean -fd"
sh "rake pages"
end
Jump to Line
Something went wrong with that request. Please try again.