Skip to content

Commit

Permalink
added bundlerized block
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed May 27, 2013
1 parent a8c27c3 commit ab26762
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tdiary/tasks/release.rake
Expand Up @@ -42,8 +42,12 @@ def make_tarball( repo, version = nil )
Dir.chdir 'tdiary-core' do
sh "chmod +x index.rb index.fcgi update.rb update.fcgi"
sh 'rake doc'
sh 'bundle --path .bundle'
sh 'cd misc/lib; gem unpack bundler'
Bundler.with_clean_env do
sh 'bundle --path .bundle --without development:test'
end
Dir.chdir 'misc/lib' do
sh 'gem unpack bundler'
end
end
end

Expand Down

0 comments on commit ab26762

Please sign in to comment.