aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorFlorent Peyraud2017-12-19 11:02:34 +0100
committerAlban Peignier2018-01-07 23:22:20 +0100
commit9dd63f3bca947e0f770df74c18950848313eb716 (patch)
treeaed938a901edf14478a5822ed9f45289410ba998 /lib/tasks
parent611b3e26b4fba91f7fcdd6a0ecb5f41ed7fba0f0 (diff)
downloadchouette-core-9dd63f3bca947e0f770df74c18950848313eb716.tar.bz2
disable sqlite and tune install task
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/install.rake6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/tasks/install.rake b/lib/tasks/install.rake
index c5cfd3cde..22a493a62 100644
--- a/lib/tasks/install.rake
+++ b/lib/tasks/install.rake
@@ -32,8 +32,10 @@ task :pkg4docker do
sh "git archive --format=tar --output=tmp/package/stif-boiv-release-#{release_name}.tar HEAD"
sh "bundle package --all"
- sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:clobber RAILS_ENV=production"
- sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:precompile RAILS_ENV=production"
+# sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:clobber RAILS_ENV=production"
+# sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:precompile RAILS_ENV=production"
+ sh "bundle exec rake assets:clobber RAILS_ENV=production"
+ 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"