2024-04-18 07:59:54 +02:00
|
|
|
#!make
|
2024-08-21 22:01:24 +02:00
|
|
|
include .vars
|
2024-04-18 07:59:54 +02:00
|
|
|
|
|
|
|
default: build
|
|
|
|
|
2024-04-18 08:07:32 +02:00
|
|
|
prep:
|
2024-08-21 23:03:26 +02:00
|
|
|
git submodule foreach --recursive bash -c "git checkout \$$(git remote show origin | grep HEAD | sed 's/.*\: //'); git pull"
|
2024-04-18 08:07:32 +02:00
|
|
|
|
|
|
|
build: prep
|
2024-08-21 21:49:00 +02:00
|
|
|
./version.sh
|
2024-04-18 07:59:54 +02:00
|
|
|
|
2024-08-21 22:01:24 +02:00
|
|
|
deploy:
|
|
|
|
./deploy.sh
|
|
|
|
|
2024-04-18 08:07:32 +02:00
|
|
|
run: prep
|
2024-04-18 07:59:54 +02:00
|
|
|
hugo server
|