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:
parent
9e60baaab6
commit
c16b1e1a53
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue