13 lines
278 B
Makefile
13 lines
278 B
Makefile
|
|
|
||
|
|
all: sync
|
||
|
|
|
||
|
|
sync: test update
|
||
|
|
@git status | grep -q 'nothing to commit' || (git add -A && git commit -am "$$(date '+%F %T')" && git push) || true
|
||
|
|
|
||
|
|
test:
|
||
|
|
@dig +short vogsphere.baco.net A | grep -q '213\.5\.156\.25' || echo 'vogsphere.baco.net unreachable'
|
||
|
|
|
||
|
|
update:
|
||
|
|
@git pull
|
||
|
|
|