-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 533 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 533 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
.ONESHELL:
.DEFAULT_GOAL := venv
PYTHON = /bin/python3
PIP = /bin/pip
VENV = venv
PYTHON_VENV = ./$(VENV)/bin/python3
PIP_VENV = ./$(VENV)/bin/pip
venv/bin/activate: requirements.txt
$(PYTHON) -m venv $(VENV)
chmod +x ./$(VENV)/bin/activate
source ./$(VENV)/bin/activate
$(PIP_VENV) install -r requirements.txt
build: venv
./build_files/utils/make_build_archive.py $(VERSION)
update_license: venv
./tools/update_license.py $(LICENSE)
venv: venv/bin/activate
clean: venv
pyclean .
# rm -rf $(VENV)
.PHONY: build clean