diff --git a/scripts/install b/scripts/install index 27c6ddb..8d0a41c 100644 --- a/scripts/install +++ b/scripts/install @@ -135,7 +135,7 @@ ynh_add_nginx_config ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60 pushd "$final_path" - ynh_exec_warn_less shards update && shards install + ynh_exec_warn_less shards update && shards install --production ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release popd diff --git a/scripts/upgrade b/scripts/upgrade index 46f2b30..aca24ab 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,7 +115,7 @@ then #git checkout master git reset --hard --quiet $version_commit git pull - ynh_exec_warn_less shards update && shards install + ynh_exec_warn_less shards update && shards install --production ynh_exec_warn_less crystal build $final_path/src/invidious.cr --release popd fi