diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fb7f7aa --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +all: data/adjectives.json data/nouns.csv venv + +run: all + ./venv/bin/python kasus.py + +clean: + rm -rf data/adjectives.json data/nouns.csv venv + +data/adjectives.json: data/adj-query.sh data/grab-dump.sh + cd data; ./adj-query.sh + +data/nouns.csv: data/noun-query.sh data/grab-dump.sh data/common-nouns + cd data; ./noun-query.sh + +venv: requirements.txt + python -m venv venv + ./venv/bin/pip install -r requirements.txt + +.PHONY: all run clean |