Skip to content

Commit

Permalink
Fix assets folder location in justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodwyer committed Aug 23, 2024
1 parent 8267ba6 commit 34a9c66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 34a9c66

Please sign in to comment.