We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01355c8 + 1bdd911 commit 37e0c49Copy full SHA for 37e0c49
1 file changed
Makefile
@@ -0,0 +1,37 @@
1
+init-venv:
2
+ @pip install virtualenv
3
+ @python -m virtualenv venv
4
+ @source venv/bin/activate
5
+ @pip install -r requirements.txt
6
+ @pip install tox
7
+.PHONY: init, init-venv
8
+
9
+lint:
10
+ @python -m tox -e flake8
11
+ @python -m tox -e pylint
12
+.PHONY: lint
13
14
+test-only:
15
+ @python -m tox -e test
16
+.PHONY: test-only
17
18
+test: lint test-only
19
+.PHONY: test
20
21
+clean:
22
+ rm -rf .coverage .tox .mypy_cache __pytest_reports htmlcov
23
+ rm -rf build charon.egg-info dist local package
24
+.PHONY: clean
25
26
+build:
27
+ @pip install -r ./requirements.txt
28
+ @pip install .
29
+.PHONY: build
30
31
+sdist:
32
+ @python3 setup.py sdist
33
+.PHONY: sdist
34
35
+image-latest:
36
+ @podman build . -f ./image/Containerfile -t localhost/charon:latest
37
+.PHONY: image-latest
0 commit comments