Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (19 sloc) 539 Bytes
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "bundler/version"
require "shoulda/context/tasks"
require 'plancast'
require "rake/testtask"
Rake::TestTask.new(:test) do |test|
test.ruby_opts = ["-rubygems"] if defined? Gem
test.libs << "lib" << "test"
test.pattern = "test/**/*_test.rb"
end
desc "Build the gem"
task :build do
system "gem build plancast.gemspec"
end
desc "Build and release the gem"
task :release => :build do
system "gem push plancast-#{Plancast::VERSION}.gem"
end
task :default => :test