-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (29 loc) · 763 Bytes
/
Makefile
File metadata and controls
38 lines (29 loc) · 763 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
SHELL := /bin/bash
.PHONY: clean
help:
@echo "build - build out folder struction for data project."
@echo "install - setup virtual environment and install requirements"
@echo "start - start virtual environment"
@echo "build-all - build out folder struction for data project."
@echo "clean - remove all build, test, coverage and Python artifacts"
@echo "clean-data - remove data all artifacts"
@echo "run - run program"
build:
mkdir data
mkdir data/lookup
mkdir data/processed
mkdir data/raw
install:
python3 -m venv myvenv
source myvenv/bin/activate
pip install -r requirements.txt
start:
source myvenv/bin/activate
build-all: build install start
clean:
rm -fr data/processed
clean-data:
rm -rI data
rm -fr myvenv
run:
python3 main.py