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:
parent
d54f3cec73
commit
f67554baa1
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue