1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tldraw_ynh.git synced 2024-09-03 20:35:54 +02:00

Change to build only www

This commit is contained in:
Limezy 2022-09-30 08:38:53 +07:00
parent 87075c2154
commit 89d9fed128

View file

@ -129,8 +129,10 @@ chown $app:$app "$final_path/apps/www/.env"
# BUILD YARN DEPENDENCIES # BUILD YARN DEPENDENCIES
#================================================= #=================================================
pushd "$final_path" pushd "$final_path/apps/www/"
ynh_use_nodejs ynh_use_nodejs
ynh_script_progression --message="Cleaning cache... " --weight=3
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn cache clean 2>&1
ynh_script_progression --message="Fetching Yarn dev dependencies... This can be very long, be patient !" --weight=18 ynh_script_progression --message="Fetching Yarn dev dependencies... This can be very long, be patient !" --weight=18
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --network-timeout 1000000000 2>&1 ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --network-timeout 1000000000 2>&1
ynh_script_progression --message="Cleaning cache... " --weight=3 ynh_script_progression --message="Cleaning cache... " --weight=3