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:
parent
e4afca58e4
commit
ff49c2709a
1 changed files with 9 additions and 9 deletions
|
@ -62,23 +62,23 @@ chown $app:$app "$install_dir/.env"
|
|||
|
||||
source $install_dir/.env
|
||||
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
|
||||
#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 "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 "WITH_DOCKER=no $ynh_node_load_PATH just config-basic"
|
||||
#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just mix bonfire.deps .update"
|
||||
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
|
||||
### DONT USE GLOBAL NPM INSTALL
|
||||
ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile"
|
||||
|
||||
#=================================================
|
||||
# Building the release
|
||||
#=================================================
|
||||
ynh_script_progression --message="Building Bonfire release... (This will take a long time)" --weight=1
|
||||
export TERM=linux # why is that not defined ?
|
||||
export TERMINFO=/etc/terminfo
|
||||
### DONT USE GLOBAL NPM INSTALL
|
||||
ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile"
|
||||
ynh_script_progression --message="Building Bonfire release... (this will take a long time)" --weight=1
|
||||
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just config-basic"
|
||||
#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just mix bonfire.deps.update"
|
||||
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just rel-build"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue