-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
25 lines (20 loc) · 806 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: data deps clean install
help:
@echo "deps - installs dependencies"
@echo "data - downloads data"
@echo "clean - removes dowloaded files"
@echo "install - installs dependencies and downloads data"
data:
cd resources && tar -xzvf iitb-sorted.json.tgz && cd ..
wget -O resources/wiki_title_to_id.pkl.tgz -v https://googledrive.com/host/0B7wSO4JK9zbFanFTbUJ4WFROYms && cd resources && tar -xzvf wiki_title_to_id.pkl.tgz && cd ..
clean:
rm resources/iitb-sorted.json
rm resources/wiki_title_to_id.pkl
cd dexter-eval && mvn clean && cd ..
rm -r -f output
deps:
sudo apt-get install -y git python-librdf maven
sudo pip install -r requirements.txt
git submodule update --init --recursive && cd dexter-eval && mvn clean package assembly:single && cd ..
mkdir -p output
install: deps data