forked from 4dn-dcic/tibanna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (28 loc) · 953 Bytes
/
Makefile
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
clean:
rm -rf *.egg-info
rm -rf .eggs
lint:
flake8 tibanna
install:
poetry install
test:
poetry run invoke test --no-flake
retest: # runs only failed tests from the last test run.
pytest -vv --last-failed
update: # updates dependencies
poetry update
publish-pypi:
scripts/publish-pypi
publish-docker:
scripts/publish-docker
help:
@make info
info:
@: $(info Here are some 'make' options:)
$(info - Use 'make lint' to check style with flake8.)
$(info - Use 'make install' to install dependencies using poetry.)
$(info - Use 'make publish-pypi' to publish this library to Pypi)
$(info - Use 'make publish-docker' to build the docker image and upload it to docker hub.)
$(info - Use 'make retest' to run failing tests from the previous test run.)
$(info - Use 'make test' to run tests with the normal options we use for CI/CD like GA.)
$(info - Use 'make update' to update dependencies (and the lock file))