Skip to content
Newer
Older
100644 18 lines (14 sloc) 454 Bytes
a9fb66f @did first init
did authored
1 require File.expand_path('../config/application', __FILE__)
2
3 require 'rake'
4 require 'rake/testtask'
5 require 'rake/rdoctask'
ea4c09c @jacquescrocker Updating dependencies, removing jeweler, and cleaning up gemspec
jacquescrocker authored
6 require 'rake/gempackagetask'
a9fb66f @did first init
did authored
7
6605689 @jacquescrocker Fix Raketask so it uses the right way to load in tasks
jacquescrocker authored
8 Locomotive::Application.load_tasks
9e7d1d3 @did make an engine of the cms
did authored
9
ea4c09c @jacquescrocker Updating dependencies, removing jeweler, and cleaning up gemspec
jacquescrocker authored
10 gemspec = eval(File.read('locomotive_cms.gemspec'))
11 Rake::GemPackageTask.new(gemspec) do |pkg|
12 pkg.gem_spec = gemspec
9e7d1d3 @did make an engine of the cms
did authored
13 end
14
ea4c09c @jacquescrocker Updating dependencies, removing jeweler, and cleaning up gemspec
jacquescrocker authored
15 desc "build the gem and release it to rubygems.org"
16 task :release => :gem do
17 sh "gem push pkg/locomotive_cms-#{gemspec.version}.gem"
18 end
Something went wrong with that request. Please try again.