-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (24 loc) · 666 Bytes
/
Makefile
File metadata and controls
34 lines (24 loc) · 666 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
.PHONY: build install test test-integration typecheck package clean
build:
poetry install
install:
bash scripts/config-autostart.sh
test:
python -c 'import aw_qt'
test-integration:
python ./tests/integration_tests.py --no-modules
lint:
poetry run flake8 aw_qt --ignore=E501,E302,E305,E231 --per-file-ignores="__init__.py:F401"
typecheck:
poetry run mypy aw_qt --pretty
precommit:
make typecheck
make test
make test-integration
package:
pyinstaller --clean --noconfirm aw-qt.spec
clean:
rm -rf build dist
rm -rf __pycache__ aw_qt/__pycache__
#aw_qt/resources.py: aw_qt/resources.qrc
# poetry run pyrcc5 -o aw_qt/resources.py aw_qt/resources.qrc