diff options
| author | Florent Peyraud | 2018-01-05 08:54:59 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2018-01-07 23:22:20 +0100 | 
| commit | d50635ab6ac7d50210ca59963a692b293d4c4d43 (patch) | |
| tree | 414e174c0430a25164e02a9a84301b35f560d72b | |
| parent | f56b325e148db36b474103c9583b074227a993a3 (diff) | |
| download | chouette-core-d50635ab6ac7d50210ca59963a692b293d4c4d43.tar.bz2 | |
embed packs dir into release package
| -rw-r--r-- | lib/tasks/install.rake | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/lib/tasks/install.rake b/lib/tasks/install.rake index 22a493a62..1150825b2 100644 --- a/lib/tasks/install.rake +++ b/lib/tasks/install.rake @@ -11,6 +11,7 @@ task :package do    sh "bundle exec rake assets:precompile RAILS_ENV=production"    sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar vendor/cache"    sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar public/assets" +  sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar public/packs"    %w{deploy-helper.sh README sidekiq-stif-boiv.service stif-boiv.conf stif-boiv-setup.sh template-stif-boiv.sql}.each do |f|      cp "install/#{f}", "tmp/package/#{f}" @@ -38,6 +39,7 @@ task :pkg4docker do    sh "bundle exec rake assets:precompile RAILS_ENV=production"    sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar vendor/cache"    sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar public/assets" +  sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar public/packs"    sh "gzip -c tmp/package/stif-boiv-release-#{release_name}.tar > tmp/stif-boiv-release.tar.gz" | 
