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

use ynh_npm

This commit is contained in:
lapineige 2023-05-03 18:31:22 +02:00 committed by GitHub
parent 9e60baaab6
commit c16b1e1a53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,9 @@
source _common.sh
source /usr/share/yunohost/helpers
ynh_install_nodejs
ynh_use_nodejs
secret_key_base=$(ynh_string_random --length=24)
signing_salt=$(ynh_string_random --length=24)
encryption_salt=$(ynh_string_random --length=24)
@ -93,7 +96,8 @@ ynh_exec_warn_less cat .env
ynh_script_progression --message="Building Bonfire release..." --weight=1
export TERM=linux # why is that not defined ?
export TERMINFO=/etc/terminfo
ynh_exec_warn just rel-build # node needs (root) access to /usr/local/lib/node_modules
ynh_exec_warn ynh_exec_as $app $ynh_node_load_PATH -s $SHELL -lc "just rel-build"
#ynh_exec_warn just rel-build # node needs (root) access to /usr/local/lib/node_modules
ynh_exec_warn ls _build