mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Silence all build warnings
This commit is contained in:
parent
59464536f0
commit
aeb2b8eefd
2 changed files with 12 additions and 12 deletions
|
@ -129,12 +129,12 @@ ynh_script_progression --message="Building $app... (this will take some time and
|
||||||
pushd "$final_path" || ynh_die
|
pushd "$final_path" || ynh_die
|
||||||
|
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
yarn install --non-interactive --silent
|
ynh_exec_warn_less yarn install --non-interactive --silent
|
||||||
yarn global add knex-migrator
|
ynh_exec_warn_less yarn global add knex-migrator
|
||||||
NODE_ENV=production knex-migrator init
|
ynh_exec_warn_less NODE_ENV=production knex-migrator init
|
||||||
yarn global add grunt-cli ember-cli
|
ynh_exec_warn_less yarn global add grunt-cli ember-cli
|
||||||
NODE_ENV=production grunt symlink
|
ynh_exec_warn_less NODE_ENV=production grunt symlink
|
||||||
NODE_ENV=production grunt init --force
|
ynh_exec_warn_less NODE_ENV=production grunt init --force
|
||||||
|
|
||||||
popd || ynh_die
|
popd || ynh_die
|
||||||
|
|
||||||
|
|
|
@ -156,12 +156,12 @@ then
|
||||||
ynh_script_progression --message="Building $app... (this will take some time and resources!)"
|
ynh_script_progression --message="Building $app... (this will take some time and resources!)"
|
||||||
|
|
||||||
pushd "$final_path" || ynh_die
|
pushd "$final_path" || ynh_die
|
||||||
yarn install
|
ynh_exec_warn_less yarn install
|
||||||
yarn global add knex-migrator
|
ynh_exec_warn_less yarn global add knex-migrator
|
||||||
NODE_ENV=production knex-migrator init
|
ynh_exec_warn_less NODE_ENV=production knex-migrator init
|
||||||
yarn global add grunt
|
ynh_exec_warn_less yarn global add grunt
|
||||||
NODE_ENV=production grunt symlink
|
ynh_exec_warn_less NODE_ENV=production grunt symlink
|
||||||
NODE_ENV=production grunt init --force
|
ynh_exec_warn_less NODE_ENV=production grunt init --force
|
||||||
|
|
||||||
popd || ynh_die
|
popd || ynh_die
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue