From 8da0e9adb27613a33fce3b6099379b50f21c68fc Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 2 Jun 2021 14:28:59 +0200 Subject: [PATCH] :paperclip: Adapt exporter and frontend build scripts. --- exporter/scripts/build | 2 +- frontend/scripts/build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exporter/scripts/build b/exporter/scripts/build index 61cc021d1..1df9a1707 100755 --- a/exporter/scripts/build +++ b/exporter/scripts/build @@ -8,7 +8,7 @@ rm -rf target export NODE_ENV=production; # Build the application -npx shadow-cljs release main +clojure -M:dev:shadow-cljs release main # Remove source rm -rf target/app diff --git a/frontend/scripts/build b/frontend/scripts/build index 73b50e483..1931f5431 100755 --- a/frontend/scripts/build +++ b/frontend/scripts/build @@ -8,7 +8,7 @@ EXTRA_PARAMS=$SHADOWCLJS_EXTRA_PARAMS; yarn install || exit 1; npx gulp clean || exit 1; -npx shadow-cljs release main --config-merge "{:release-version \"${CURRENT_HASH}\"}" $EXTRA_PARAMS || exit 1 +clojure -M:dev:shadow-cljs release main --config-merge "{:release-version \"${CURRENT_HASH}\"}" $EXTRA_PARAMS || exit 1 npx gulp build || exit 1; npx gulp dist:clean || exit 1; npx gulp dist:copy || exit 1;