mirror of
https://github.com/YunoHost-Apps/bonfire_ynh.git
synced 2024-09-03 18:16:01 +02:00
Add just config (again)
This commit is contained in:
parent
e9d33171df
commit
23e83330d9
1 changed files with 8 additions and 8 deletions
|
@ -64,14 +64,17 @@ ynh_install_extra_app_dependencies --repo="https://proget.makedeb.org prebuilt-m
|
|||
#makedeb -si
|
||||
#cd ..
|
||||
|
||||
export WITH_DOCKER=no # or source .env ?
|
||||
source "$install_dir/.env"
|
||||
|
||||
ynh_script_progression --message="Configuring Bonfire release..." --weight=1
|
||||
cd $install_dir
|
||||
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just config
|
||||
|
||||
#=================================================
|
||||
# Building the release
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring Bonfire release..." --weight=1
|
||||
|
||||
export WITH_DOCKER=no # or source .env ?
|
||||
source "$install_dir/.env"
|
||||
cd $install_dir
|
||||
ynh_script_progression --message="Building Bonfire release..." --weight=1
|
||||
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just rel-build
|
||||
|
||||
#=================================================
|
||||
|
@ -80,9 +83,6 @@ ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc just rel-build
|
|||
|
||||
release_folder="_build/prod/rel/bonfire"
|
||||
|
||||
ynh_exec_warn ls _*
|
||||
ynh_exec_warn ls $install_dir/_build/
|
||||
|
||||
# Database created before, let's run the migrations
|
||||
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "just cmd $release_folder/bin/bonfire eval 'EctoSparkles.Migrator.migrate()'"
|
||||
|
||||
|
|
Loading…
Reference in a new issue