Files
upstream-aw-watcher-afk/Makefile
upstream-mirror 87aaa2add8
Some checks failed
Build / Test on macos-latest (py-3.9) (push) Has been cancelled
Build / Test on ubuntu-24.04 (py-3.9) (push) Has been cancelled
Build / Test on windows-latest (py-3.9) (push) Has been cancelled
CodeQL / Analyze (python) (push) Failing after 1m36s
snapshot of https://github.com/ActivityWatch/aw-watcher-afk.git (master, 2026-09-16; blobs > 131072B omitted)
2026-09-16 00:21:02 +05:00

20 lines
418 B
Makefile

.PHONY: build test package clean
build:
poetry install
test:
poetry run aw-watcher-afk --help # Ensures that it at least starts
poetry run python -m unittest discover -s tests -p "test_afk_failures.py"
make typecheck
typecheck:
poetry run mypy aw_watcher_afk --ignore-missing-imports
package:
pyinstaller aw-watcher-afk.spec --clean --noconfirm
clean:
rm -rf build dist
rm -rf aw_watcher_afk/__pycache__