From d4c7abfa563c9e4ae43b0c60dbb2ffc421141b9d Mon Sep 17 00:00:00 2001 From: Tom O'Dwyer Date: Fri, 23 Aug 2024 09:23:28 +0100 Subject: [PATCH] Fix assets folder location in justfile --- justfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index c4d1bedb..5b2e832d 100644 --- a/justfile +++ b/justfile @@ -229,7 +229,7 @@ docs-build *ARGS: devenv # Remove built assets and node_modules assets-clean: - rm -rf assets/dist/out + rm -rf assets/out rm -rf node_modules @@ -257,12 +257,12 @@ assets-build: # with || to avoid error exit code # we wrap the find in an if in case dist/.written is missing so we don't # trigger a failure prematurely - if test -f assets/dist/out/.written; then - find assets/src -type f -newer assets/dist/out/.written | grep -q . || exit 0 + if test -f assets/out/.written; then + find assets/src -type f -newer assets/out/.written | grep -q . || exit 0 fi npm run build - touch assets/dist/out/.written + touch assets/out/.written # Install npm toolchain, build and collect assets