1
0
forked from Git/send_ynh
This commit is contained in:
ericgaspar 2022-06-26 08:59:12 +02:00
parent 0245ed4acb
commit f28e087a30
2 changed files with 3 additions and 4 deletions

View File

@ -126,8 +126,7 @@ ynh_script_progression --message="Building $app... (this will take some time and
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
#ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run clean && webpack
popd popd
#================================================= #=================================================

View File

@ -103,8 +103,8 @@ then
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm run build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build
popd popd
fi fi