mirror of
https://github.com/YunoHost-Apps/huginn_ynh.git
synced 2024-09-03 19:26:13 +02:00
Less warnings
This commit is contained in:
parent
50575f0d42
commit
d6876797f6
3 changed files with 9 additions and 9 deletions
|
@ -143,10 +143,10 @@ pushd $final_path
|
|||
bundle config set --local deployment 'true'
|
||||
bundle config set --local without 'development test'
|
||||
bundle install
|
||||
bundle exec rake db:create RAILS_ENV=production
|
||||
bundle exec rake db:migrate RAILS_ENV=production
|
||||
bundle exec rake db:seed RAILS_ENV=production SEED_USERNAME=$admin SEED_PASSWORD=$password
|
||||
bundle exec rake assets:precompile RAILS_ENV=production
|
||||
ynh_exec_warn_less bundle exec rake db:create RAILS_ENV=production
|
||||
ynh_exec_warn_less bundle exec rake db:migrate RAILS_ENV=production
|
||||
ynh_exec_warn_less bundle exec rake db:seed RAILS_ENV=production SEED_USERNAME=$admin SEED_PASSWORD=$password
|
||||
ynh_exec_warn_less bundle exec rake assets:precompile RAILS_ENV=production
|
||||
popd
|
||||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
|
|
@ -102,9 +102,9 @@ pushd $final_path
|
|||
ynh_gem update --system --no-document
|
||||
ynh_gem install rake bundler foreman --no-document
|
||||
bundle config set --local deployment 'true'
|
||||
bundle config set --local without 'development test'
|
||||
bundle install
|
||||
bundle exec rake assets:clean assets:precompile tmp:cache:clear RAILS_ENV=production
|
||||
ynh_exec_warn_less bundle config set --local without 'development test'
|
||||
ynh_exec_warn_less bundle install
|
||||
ynh_exec_warn_less bundle exec rake assets:clean assets:precompile tmp:cache:clear RAILS_ENV=production
|
||||
popd
|
||||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
|
|
@ -139,8 +139,8 @@ pushd $final_path
|
|||
bundle config set --local deployment 'true'
|
||||
bundle config set --local without 'development test'
|
||||
bundle install
|
||||
bundle exec rake db:migrate RAILS_ENV=production
|
||||
bundle exec rake assets:clean assets:precompile tmp:cache:clear RAILS_ENV=production
|
||||
ynh_exec_warn_less bundle exec rake db:migrate RAILS_ENV=production
|
||||
ynh_exec_warn_less bundle exec rake assets:clean assets:precompile tmp:cache:clear RAILS_ENV=production
|
||||
popd
|
||||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
|
Loading…
Add table
Reference in a new issue