-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
18 lines (14 loc) · 751 Bytes
/
Makefile
File metadata and controls
18 lines (14 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SHELL := /bin/bash
TAP_NAME = elementary
.DEFAULT: help
help:
@echo "make venv"
@echo " Make a python virtual enviroment in the cwd and install requirements"
@echo "make datasets"
@echo " Convert all datasets into html files using dataset_rawdata.py. The html will be placed in a directory in the top level of this repo called html_charts"
venv:
pip install virtualenv
python -m venv venv
source venv/bin/activate && pip install git+https://github.com/Matatika/matatika-dataset-converter.git
datasets:
source venv/bin/activate && convert bundle/analyze/datasets/$(TAP_NAME)/ rawdata/ bundle/analyze/datasets/$(TAP_NAME)/output || convert bundle/analyze/datasets/$(TAP_NAME)/ rawdata/ bundle/analyze/datasets/$(TAP_NAME)/output