mirror of
https://github.com/YunoHost-Apps/gancio_ynh.git
synced 2024-09-03 20:36:19 +02:00
fix yarn build command
This commit is contained in:
parent
ff7732f3b3
commit
211a0567c6
1 changed files with 4 additions and 4 deletions
|
@ -96,13 +96,13 @@ chown $app:$app "$install_dir/config.json"
|
|||
### ynh_store_file_checksum --file="$install_dir/some_config_file"
|
||||
|
||||
#=================================================
|
||||
# INSTALL YARN
|
||||
# INSTALL YARN AND APP
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing yarn dependency..." --weight=15
|
||||
ynh_script_progression --message="Installing yarn dependency and building the app..." --weight=15
|
||||
|
||||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn build --config $install_dir/config.json# there is no "install" command, only build
|
||||
popd
|
||||
#=================================================
|
||||
# SETUP APPLICATION WITH CURL
|
||||
|
@ -126,4 +126,4 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap
|
|||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installation of $app completed" --last
|
||||
ynh_script_progression --message="Installation of $app completed" --last
|
||||
|
|
Loading…
Add table
Reference in a new issue