File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments