Skip to content

Commit

Permalink
Updated build-deps command to check if registry is newer than dist to…
Browse files Browse the repository at this point in the history
… force rebuild (#5825)
  • Loading branch information
ichim-david authored Mar 3, 2024
1 parent 441f142 commit 65ec519
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/volto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ cypress-install:

.PHONY: build-deps
build-deps:
if [ ! -d $$(pwd)/../registry/dist ]; then (cd ../../ && pnpm build:deps); fi
@if [ ! -d $$(pwd)/../registry/dist ] || [ $$(find $$(pwd)/../registry -newer $$(pwd)/../registry/dist -print -quit) ]; then \
(cd ../../ && pnpm build:deps); \
fi


##### Release (it runs the one inside)

Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/5825.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Modified build-deps make command to check if registry files are newer than dist to force rebuild. @ichim-david

0 comments on commit 65ec519

Please sign in to comment.