engine/Rakefile

22 lines
481 B
Ruby
Raw Normal View History

2010-03-29 22:01:47 +00:00
require File.expand_path('../config/application', __FILE__)
require 'rubygems'
2010-03-29 22:01:47 +00:00
require 'rake'
require 'rdoc/task'
require 'rubygems/package_task'
2010-03-29 22:01:47 +00:00
Locomotive::Application.load_tasks
2010-06-03 15:32:40 +00:00
gemspec = eval(File.read('locomotive_cms.gemspec'))
Gem::PackageTask.new(gemspec) do |pkg|
pkg.gem_spec = gemspec
2010-06-03 15:32:40 +00:00
end
desc 'build the gem and release it to rubygems.org'
task :release => :gem do
sh "gem push pkg/custom_fields-#{gemspec.version}.gem"
end
2011-07-04 13:43:05 +00:00
task :default => [:spec, :cucumber]