-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (25 loc) · 722 Bytes
/
Makefile
File metadata and controls
35 lines (25 loc) · 722 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
#!make
all: install download lint test build
install:
poetry lock
poetry install --with test,dev
download:
wget -O awsistants/assistants.json https://raw.githubusercontent.com/awesome-assistants/awesome-assistants/main/build/assistants.json
lint:
poetry run black .
test:
poetry run pytest
build:
poetry build
changelog:
poetry run towncrier build --yes --version v$(shell poetry version -s)
publish-test:
poetry build
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish --no-interaction -r testpypi -u __token__ -p ${PYPI_TOKEN}
clean:
rm -rf dist
rm -rf .pytest_cache
rm -rf poetry.lock
find . -type f -name '*.pyc' -delete
.PHONY: all download build lint test clean