snapshot of https://github.com/ActivityWatch/aw-watcher-afk.git (master, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
.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__
|
||||
Reference in New Issue
Block a user