prep target in makefile now updates the submodules

This commit is contained in:
bryanpedini committed 2024-08-21 21:15:11 +02:00
1 parent 7aa85522dc
commit 4b597ca2d8
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@
default: build
prep:
git submodule update --init --recursive
git submodule foreach --recursive bash -c "git checkout $$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
build: prep
hugo