prep target in makefile now updates the submodules

This commit is contained in:
Bryan Joshua Pedini 2024-08-17 01:32:01 +02:00
parent 7aa85522dc
commit 4b597ca2d8

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