Skip to content

Commit

Permalink
Only build necessary modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Jul 5, 2024
1 parent f3b49e1 commit 6a85f06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ ynh_script_progression --message="Building $app..." --weight=10
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn_less env $ynh_node_load_PATH yarn install
ynh_exec_warn_less env $ynh_node_load_PATH yarn build
ynh_exec_warn_less env $ynh_node_load_PATH yarn build:frontend:app
ynh_exec_warn_less env $ynh_node_load_PATH yarn build:server
popd

chmod 750 "$install_dir"
Expand Down
3 changes: 2 additions & 1 deletion scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ ynh_script_progression --message="Install $app..." --weight=10
pushd "$install_dir"
ynh_use_nodejs
ynh_exec_warn_less env $ynh_node_load_PATH yarn install
ynh_exec_warn_less env $ynh_node_load_PATH yarn build
ynh_exec_warn_less env $ynh_node_load_PATH yarn build:frontend:app
ynh_exec_warn_less env $ynh_node_load_PATH yarn build:server
popd

chmod 750 "$install_dir"
Expand Down

0 comments on commit 6a85f06

Please sign in to comment.