1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/penpot_ynh.git synced 2024-09-03 19:56:56 +02:00
This commit is contained in:
Mateusz Szymański 2024-04-18 22:54:44 +02:00
parent dcf643f093
commit 9d4742ed61

View file

@ -113,11 +113,11 @@ chmod -R 700 $install_dir/backend
ynh_script_progression --message="Building exporter..." --weight=5 ynh_script_progression --message="Building exporter..." --weight=5
pushd $install_dir/build/exporter pushd $install_dir/build/exporter
ynh_exec_warn_less ynh_exec_as "$app" env $ynh_node_load_PATH corepack prepare --activate ynh_exec_warn_less ynh_exec_as "$app" env $ynh_node_load_PATH corepack prepare --activate
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --immutable ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH yarn install --immutable
ynh_secure_remove --file="target" ynh_secure_remove --file="target"
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH JAVA_HOME=$JAVA_HOME NODE_ENV=production clojure -M:dev:shadow-cljs release main ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH JAVA_HOME=$JAVA_HOME NODE_ENV=production clojure -M:dev:shadow-cljs release main
ynh_secure_remove --file="target/app" #ynh_secure_remove --file="target/app"
cp ../.yarnrc.yml target/ cp ../.yarnrc.yml target/
cp yarn.lock target/ cp yarn.lock target/
cp package.json target/ cp package.json target/
@ -142,7 +142,7 @@ ynh_script_progression --message="Cleaning up..." --weight=1
ynh_secure_remove --file=$install_dir/.npm ynh_secure_remove --file=$install_dir/.npm
ynh_secure_remove --file=$install_dir/.yarn ynh_secure_remove --file=$install_dir/.yarn
ynh_secure_remove --file=$install_dir/build #ynh_secure_remove --file=$install_dir/build
ynh_secure_remove --file=$install_dir/.m2 ynh_secure_remove --file=$install_dir/.m2
ynh_secure_remove --file=$install_dir/.clojure ynh_secure_remove --file=$install_dir/.clojure
ynh_secure_remove --file=$install_dir/clojure ynh_secure_remove --file=$install_dir/clojure