mirror of
https://github.com/alvierahman90/capitals_quiz.git
synced 2024-11-23 17:59:55 +00:00
add gohookr.sh script
This commit is contained in:
parent
53534fe747
commit
3b5a172ea8
3
Makefile
3
Makefile
@ -2,7 +2,7 @@ all: countries.js
|
|||||||
|
|
||||||
countries/countries.json: .SUBMODULES
|
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
|
python3 scripts/generate_countries_list.py countries/countries.json > countries.js
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@ -13,3 +13,4 @@ clean:
|
|||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
|
||||||
|
.PHONY:
|
||||||
|
4
gohookr.sh
Executable file
4
gohookr.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
cd `dirname $0`
|
||||||
|
git pull
|
||||||
|
make
|
Loading…
Reference in New Issue
Block a user