blob: fb7f7aa71a06a9659d852d5902d87dffdc6a1fb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
|