mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
* Bugfix #77 by "shards install" with "--production" See: https://github.com/iv-org/invidious/issues/2918#issuecomment-1048146335
This commit is contained in:
parent
9def032982
commit
52fd06ccfb
2 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
|
ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_exec_warn_less shards update && shards install
|
ynh_exec_warn_less shards install --production
|
||||||
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,7 @@ then
|
||||||
#git checkout master
|
#git checkout master
|
||||||
git reset --hard --quiet $version_commit
|
git reset --hard --quiet $version_commit
|
||||||
git pull
|
git pull
|
||||||
ynh_exec_warn_less shards update && shards install
|
ynh_exec_warn_less shards install --production
|
||||||
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue