-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (18 loc) · 684 Bytes
/
Makefile
File metadata and controls
23 lines (18 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This a make file to run main scripts using uv
run-all:
uv run main.py --pytest --pycache -y
# Build executable (always via uv for consistent environment)
build-exe:
uv run pyinstaller pyclear.spec --clean
# Build all platforms via GitHub Actions (trigger manually)
build-all:
@echo "Push a git tag to trigger cross-platform builds on GitHub Actions:"
@echo " git tag v1.0.0 && git push origin v1.0.0"
@echo "Then go to Actions tab to monitor build progress."
# Clean build artifacts
clean:
if exist dist rmdir /s /q dist
if exist build rmdir /s /q build
if exist pyclear.spec.bak del pyclear.spec.bak
if exist *.log del *.log
.PHONY: run-all build-exe build-all clean