1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/penpot_ynh.git synced 2024-09-03 19:56:56 +02:00

Fixed usages of npm

This commit is contained in:
orhtej2 2024-02-11 22:40:20 +01:00
parent 03472b967c
commit 87412a76de
2 changed files with 6 additions and 6 deletions

View file

@ -67,9 +67,9 @@ pushd $install_dir/build/frontend
# ynh_exec_warn_less # 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_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 npm exec gulp build ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build
ynh_exec_as $app $ynh_node_load_PATH npm exec gulp dist:clean ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp dist:clean
ynh_exec_as $app $ynh_node_load_PATH npm exec gulp dist:copy ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp dist:copy
sed -i -re "s/\%version\%/$version/g" ./target/dist/index.html; sed -i -re "s/\%version\%/$version/g" ./target/dist/index.html;
sed -i -re "s/\%buildDate\%/$build_date/g" ./target/dist/index.html; sed -i -re "s/\%buildDate\%/$build_date/g" ./target/dist/index.html;

View file

@ -68,9 +68,9 @@ then
# ynh_exec_warn_less # 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_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 npm exec gulp build ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp build
ynh_exec_as $app $ynh_node_load_PATH npm exec gulp dist:clean ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp dist:clean
ynh_exec_as $app $ynh_node_load_PATH npm exec gulp dist:copy ynh_exec_as $app $ynh_node_load_PATH $ynh_npm exec gulp dist:copy
sed -i -re "s/\%version\%/$version/g" ./target/dist/index.html; sed -i -re "s/\%version\%/$version/g" ./target/dist/index.html;
sed -i -re "s/\%buildDate\%/$build_date/g" ./target/dist/index.html; sed -i -re "s/\%buildDate\%/$build_date/g" ./target/dist/index.html;