Files
42test/Makefile

24 lines
1.1 KiB
Makefile
Raw Normal View History

2021-10-23 16:10:09 +02:00
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: <gbaconni@42lausanne.ch> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/10/23 16:07:38 by gbaconni #+# #+# #
# Updated: 2021/10/23 16:07:43 by gbaconni ### lausanne.ch #
# #
# **************************************************************************** #
2021-10-22 11:39:12 +02:00
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