Skip to content

Commit

Permalink
Move gem to pkg/ after building.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgraham committed Sep 8, 2012
1 parent e5dc254 commit 902d14c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Rakefile
Expand Up @@ -12,9 +12,11 @@ ignore = File.read('web/lib/javascripts/.gitignore')

CLOBBER.include('pkg', 'web/chat/javascripts', *ignore)

directory 'pkg'

desc 'Build distributable packages'
task :build => :assets do
system "gem build vines.gemspec"
task :build => [:assets, :pkg] do
system 'gem build vines.gemspec && mv vines-*.gem pkg/'
end

Rake::TestTask.new(:test) do |test|
Expand Down

0 comments on commit 902d14c

Please sign in to comment.