ARver/Makefile
arcctgx cbcbfa4d8d
Some checks failed
Sync mirrors / sync-gitlab (push) Has been cancelled
Sync mirrors / sync-codeberg (push) Has been cancelled
don't use setup.py to build sdist
Direct usage of "python3 setup.py sdist" is deprecated in favor of
"python3 -m build".

Remove the .PHONY ext target that should've been removed in c0b151c.
2025-06-03 23:02:26 +02:00

26 lines
533 B
Makefile

.PHONY: release image wheels test sdist clean gitclean
CWD = $(shell pwd -P)
USER = $(shell id -u)
GROUP = $(shell id -g)
VERSION = $(shell cat utils/IMAGE_VERSION)
release: sdist wheels
image:
docker build --tag arcctgx/arver-builder:$(VERSION) .
wheels:
docker run --rm -u "$(USER):$(GROUP)" -v "$(CWD):/package" arcctgx/arver-builder:$(VERSION)
test:
python3 -m unittest discover -v -s tests/ -p "*_test.py"
sdist:
python3 -m build --sdist
clean:
$(RM) -vrf build dist wheelhouse
gitclean:
git clean -e .vscode -fdx