-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 725 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (24 loc) · 725 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
SHELL := /bin/bash
PYTHON ?= python
.PHONY: install dev-install test compile smoke ci build-lite build-full clean
install:
$(PYTHON) -m pip install --upgrade pip
$(PYTHON) -m pip install -r requirements.txt
$(PYTHON) -m pip install .
dev-install:
$(PYTHON) -m pip install --upgrade pip
$(PYTHON) -m pip install -r requirements.txt
$(PYTHON) -m pip install -e ".[dev]"
test:
$(PYTHON) -m pytest -q
compile:
$(PYTHON) -m compileall helm_path Test
smoke:
$(PYTHON) -m helm_path.main --help
ci: compile test smoke
build-lite:
docker build -t helm-path:lite -f docker/Dockerfile.lite .
build-full:
docker build -t helm-path:kali -f docker/Dockerfile.kali .
clean:
rm -rf build dist *.egg-info .pytest_cache