-
Notifications
You must be signed in to change notification settings - Fork 17
/
makefile
46 lines (32 loc) · 942 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
39
40
41
42
43
44
45
46
.PHONY: install build publish run format lint test \
test-e2e test-inte test-unit run-install \
run-new run-load run-delete run-version
format:
poetry run black .
poetry run isort .
lint:
poetry run pylint terminalgpt tests
install:
poetry install
build: install
poetry build
test:
poetry run pytest -v --disable-warnings --cov=terminalgpt
test-unit:
poetry run pytest -v --disable-warnings --cov=terminalgpt tests/unit
test-inte:
poetry run pytest -v --disable-warnings --cov=terminalgpt tests/integration
test-e2e:
poetry run pytest -v --disable-warnings --cov=terminalgpt tests/e2e
publish: build test-unit test-inte
poetry publish
run-install:
LOG_LEVEL=DEBUG poetry run terminalgpt install
run-new:
LOG_LEVEL=DEBUG poetry run terminalgpt new
run-load:
LOG_LEVEL=DEBUG poetry run terminalgpt load
run-delete:
LOG_LEVEL=DEBUG poetry run terminalgpt delete
run-version:
poetry run terminalgpt --version