engine/Rakefile
2011-06-21 03:41:32 +02:00

20 lines
494 B
Ruby

require File.expand_path('../config/application', __FILE__)
require 'rake'
# require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
Locomotive::Application.load_tasks
gemspec = eval(File.read('locomotive_cms.gemspec'))
Rake::GemPackageTask.new(gemspec) do |pkg|
pkg.gem_spec = gemspec
end
desc "build the gem and release it to rubygems.org"
task :release => :gem do
sh "gem push pkg/locomotive_cms-#{gemspec.version}.gem"
end
task :default => [:rspec, :cucumber]