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

clarify progress

This commit is contained in:
Mayel de Borniol 2024-04-16 15:25:04 +01:00
parent e4afca58e4
commit ff49c2709a

View file

@ -62,23 +62,23 @@ chown $app:$app "$install_dir/.env"
source $install_dir/.env source $install_dir/.env
export WITH_DOCKER=no # or source .env ? # Using this for now export WITH_DOCKER=no # or source .env ? # Using this for now
export TERM=linux # why is that not defined ?
export TERMINFO=/etc/terminfo
ynh_script_progression --message="Configuring Bonfire release..." --weight=1 ynh_script_progression --message="Preparing Bonfire release..." --weight=1
cd $install_dir cd $install_dir
#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "mise plugin add erlang https://github.com/asdf-vm/asdf-erlang.git" # add erlang as source #ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "mise plugin add erlang https://github.com/asdf-vm/asdf-erlang.git" # add erlang as source
#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "mise install" # install Elixir #ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "mise install" # install Elixir
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH mix local.hex --force" # install Hex in non-interractive way ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$ynh_node_load_PATH mix local.hex --force" # install Hex in non-interractive way
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just config-basic" ### DONT USE GLOBAL NPM INSTALL
#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just mix bonfire.deps .update" ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile"
#================================================= #=================================================
# Building the release # Building the release
#================================================= #=================================================
ynh_script_progression --message="Building Bonfire release... (This will take a long time)" --weight=1 ynh_script_progression --message="Building Bonfire release... (this will take a long time)" --weight=1
export TERM=linux # why is that not defined ? ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just config-basic"
export TERMINFO=/etc/terminfo #ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just mix bonfire.deps.update"
### DONT USE GLOBAL NPM INSTALL
ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile"
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just rel-build" ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just rel-build"
#================================================= #=================================================