Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add build task
  • Loading branch information
mojombo committed Apr 4, 2010
1 parent ea2c42f commit 08e1c98
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Rakefile
Expand Up @@ -47,6 +47,12 @@ Rake::RDocTask.new do |rdoc|
end

if defined?(Gem)
task 'build' do
sh 'mkdir -p pkg'
sh 'gem build god.gemspec'
sh 'mv *.gem pkg'
end

task 'god.gemspec' do |f|
# read spec file and split out manifest section
spec = File.read(f.name)
Expand Down

0 comments on commit 08e1c98

Please sign in to comment.