blob: 91ee7cacd01f2f98912febd13b154e5b7c889dad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
run: all
./venv/bin/python kasus.py
all: data/adjectives.json data/nouns.csv venv
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
|