-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (26 loc) · 948 Bytes
/
Makefile
File metadata and controls
35 lines (26 loc) · 948 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
.PHONY: test
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.3.2
build: # builds
make configure
poetry install
update:
poetry update
test:
pytest -vv tests
publish:
scripts/publish
publish-for-ga:
scripts/publish --noconfirm
deploy-dev:
python -m chalicelib.deploy dev
info:
@: $(info Here are some 'make' options:)
$(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 publish' to publish this library manually.)
$(info - Use 'make update' to update dependencies)
$(info - Use 'make deploy-dev' to deploy the foursight-cgap dev stage in the main account.)