-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.old
More file actions
42 lines (31 loc) · 731 Bytes
/
makefile.old
File metadata and controls
42 lines (31 loc) · 731 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
39
40
41
42
.PHONY: install test test-coverage run pre-commit build deploy version help
# ATTENTION: It must be TABS AND NOT SPACES before the commands, otherwise it will not work.
install:
pip install -e .
test:
pytest --verbose
test-coverage:
pytest --cov=s2c2rfams --verbose --html=report.html --self-contained-html
run:
python3 -m PythonRuns
pre-commit:
pre-commit run --all-files
build:
rm -rf ./dist
python3 -m build
deploy:
twine upload --repository-url https://nexus.myrepo.net/repository/pypi-releases/ dist/* -u <user> -p <pass>
version:
PythonRuns -v
help:
PythonRuns -h
# USAGE:
# make install
# make test
# make test-coverage
# make run
# make pre-commit
# make build
# make deploy
# make version
# make help