From 3b5a172ea8b0bd7399867fa58bdb2a0173c1475e Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Thu, 13 Jan 2022 20:36:23 +0000 Subject: [PATCH] add gohookr.sh script --- Makefile | 3 ++- gohookr.sh | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 gohookr.sh diff --git a/Makefile b/Makefile index 3c45564..871de48 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: countries.js countries/countries.json: .SUBMODULES -countries.js: countries/countries.json +countries.js: countries/countries.json .PHONY python3 scripts/generate_countries_list.py countries/countries.json > countries.js clean: @@ -13,3 +13,4 @@ clean: git submodule init git submodule update +.PHONY: diff --git a/gohookr.sh b/gohookr.sh new file mode 100755 index 0000000..02d6e03 --- /dev/null +++ b/gohookr.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +cd `dirname $0` +git pull +make