1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wetty_ynh.git synced 2024-09-03 18:16:29 +02:00

remove not needed files after build

This commit is contained in:
yalh76 2021-05-13 20:32:01 +02:00 committed by Félix Piédallu
parent d54f3cec73
commit f67554baa1
2 changed files with 2 additions and 0 deletions

View file

@ -122,6 +122,7 @@ pushd "$final_path" || return 1
sudo -u $app env "$ynh_node_load_PATH" yarn
sudo -u $app env "$ynh_node_load_PATH" yarn build
sudo -u $app env "$ynh_node_load_PATH" yarn install --production --ignore-scripts --prefer-offline
ynh_secure_remove --file="$final_path/.cache"
popd || return 1
#=================================================

View file

@ -137,6 +137,7 @@ pushd "$final_path" || return 1
sudo -u $app env "$ynh_node_load_PATH" yarn
sudo -u $app env "$ynh_node_load_PATH" yarn build
sudo -u $app env "$ynh_node_load_PATH" yarn install --production --ignore-scripts --prefer-offline
ynh_secure_remove --file="$final_path/.cache"
popd || return 1
#=================================================