-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (29 loc) · 844 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
38
config:
pip install poetry==1.8.3
build:
poetry install
update: config
poetry update
make build
lint:
flake8 --exclude tmp --exclude .tmp
test:
poetry run pytest -vv
testv:
poetry run pytest -vv -s
clean:
find . -name .pytest_cache -exec rm -rf {} +
find . -name __pycache__ -exec rm -rf {} +
rm -rf dist
publish: clean
poetry run publish-to-pypi
publish-for-ga:
pip install dcicutils
python -m dcicutils.scripts.publish_to_pypi --noconfirm
leaks:
# Install this tool with: brew install gitleaks
# The default .gitleaks.toml file here was gotten from:
# https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
# Added an S3 encrypt ID value (e.g. 271230a3-ead1-4f5a-94ce-0f2347f84a95)
# which is NOT actually a secret value; and was referenced in a test data file.
gitleaks detect --source . --verbose