From 746d1da6851a44160b61573faca5ff757b38d68a Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 7 Jun 2023 12:37:27 +0200 Subject: [PATCH] Use up to date automation script --- copy-and-build-dda-io.sh => build-and-move-frontend.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) rename copy-and-build-dda-io.sh => build-and-move-frontend.sh (60%) diff --git a/copy-and-build-dda-io.sh b/build-and-move-frontend.sh similarity index 60% rename from copy-and-build-dda-io.sh rename to build-and-move-frontend.sh index fbdc37a..25ace30 100644 --- a/copy-and-build-dda-io.sh +++ b/build-and-move-frontend.sh @@ -7,11 +7,17 @@ set -o errexit set -eo pipefail # dirs -srcDir="/home/$USER/" +srcDir="/home/$USER/repo/c4k/c4k-forgejo/public/js/" srcName="main.js" -targetDir="/home/$USER/" +targetDir="/home/$USER/repo/website/dda-io/content/templates/js/" targetName="c4k-forgejo.js" +echo "build test" +shadow-cljs compile test + +echo "test" +node target/node-tests.js + echo "build" shadow-cljs compile frontend