pedini.dev/makefile

13 lines
206 B
Makefile

#!make
default: build
prep:
git submodule foreach --recursive bash -c "git checkout $$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
build: prep
./version.sh
run: prep
hugo server