diff --git a/scripts/install b/scripts/install index 0528393..fe45893 100644 --- a/scripts/install +++ b/scripts/install @@ -68,9 +68,10 @@ pushd $install_dir/build/frontend # ynh_exec_warn_less ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH JAVA_HOME=$JAVA_HOME clojure -J-Xms100M -J-Xmx800M -J-XX:+UseSerialGC -M:dev:shadow-cljs release main --config-merge "{:release-version \"${current_hash}\"}" - ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build - ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp dist:clean - ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp dist:copy + ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build:assets + ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build:styles + ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp clean:dist + ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build:copy ynh_replace_string --match_string="%version%" --replace_string="$version" --target_file="$install_dir/build/frontend/target/dist/index.html" ynh_replace_string --match_string="%buildDate%" --replace_string="$build_date" --target_file="$install_dir/build/frontend/target/dist/index.html" @@ -199,4 +200,4 @@ ynh_systemd_action --service_name=$app-exporter --action="start" --log_path="/va #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed" --last \ No newline at end of file +ynh_script_progression --message="Installation of $app completed" --last diff --git a/scripts/upgrade b/scripts/upgrade index 9e7bd07..fb90d48 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,9 +68,10 @@ then # ynh_exec_warn_less ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH JAVA_HOME=$JAVA_HOME clojure -J-Xms100M -J-Xmx800M -J-XX:+UseSerialGC -M:dev:shadow-cljs release main --config-merge "{:release-version \"${current_hash}\"}" - ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build - ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp dist:clean - ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp dist:copy + ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build:assets + ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build:styles + ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp clean:dist + ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build:copy ynh_replace_string --match_string="%version%" --replace_string="$version" --target_file="$install_dir/build/frontend/target/dist/index.html" ynh_replace_string --match_string="%buildDate%" --replace_string="$build_date" --target_file="$install_dir/build/frontend/target/dist/index.html" @@ -195,4 +196,4 @@ ynh_systemd_action --service_name=$app-exporter --action="start" --log_path="/va # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of $app completed" --last \ No newline at end of file +ynh_script_progression --message="Upgrade of $app completed" --last