1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/code-server_ynh.git synced 2024-09-03 18:16:28 +02:00
This commit is contained in:
Jules Bertholet 2021-05-29 10:20:53 -04:00
parent 6c842e6136
commit d7adaf05a6

View file

@ -5,7 +5,7 @@
#=================================================
# dependencies used by the app
pkg_dependencies="git jq build-essential nodejs g++ gettext-base"
pkg_dependencies="git jq build-essential nodejs g++ gettext-base rsync"
#=================================================
# PERSONAL HELPERS
@ -63,6 +63,7 @@ function build_app {
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" install 1>&2
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" build 1>&2
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" build:vscode 1>&2
echo "done with build"
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" release 1>&2
cd release
sudo -u $admin env "PATH=$node_path" yarn --cache-folder "$final_path/yarn-cache" --use-yarnrc "$final_path/.yarnrc" install --production 1>&2