-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (28 loc) · 1.01 KB
/
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
.PHONY: test
clean:
rm -rf *.egg-info
clear-poetry-cache: # clear poetry/pypi cache. for user to do explicitly, never automatic
poetry cache clear pypi --all
configure: # does any pre-requisite installs
pip install poetry==1.4.2
build: # builds
make configure
poetry install
update:
poetry update
test:
pytest -vv --cov chalicelib tests
info:
@: $(info Here are some 'make' options:)
$(info - Use 'make clean' to clean out cached info like eggs.)
$(info - Use 'make configure' to install poetry, though 'make build' will do it automatically.)
$(info - Use 'make build' to install dependencies using poetry.)
$(info - Use 'make test' to run tests with the normal options we use on travis)
$(info - Use 'make update' to update dependencies)
publish:
# New Python based publish script in dcicutils (2023-04-25).
poetry run publish-to-pypi
publish-for-ga:
# New Python based publish script in dcicutils (2023-04-25).
pip install dcicutils==8.7.0.1b2
poetry run publish-to-pypi --noconfirm