mirror of
https://github.com/arcctgx/ARver
synced 2025-06-02 21:43:47 +02:00
Start versioning the builder image. This is version 1.0.0, previous versions will be "zerover" releases. As far as I can recognize the milestones in the history of the Docker image, they should've been:f125a0d
- 0.10.05b68ac6
- 0.9.0b3a1936
- 0.8.002a8661
- 0.7.0b19bcd8
- 0.6.01578267
- 0.5.04162acf
- 0.4.044889b3
- 0.3.0d1c1188
- 0.2.061ebc08
- 0.1.0
29 lines
589 B
Makefile
29 lines
589 B
Makefile
.PHONY: release image wheels ext 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)
|
|
|
|
ext:
|
|
python3 setup.py build_ext --verbose --inplace
|
|
|
|
test:
|
|
python3 -m unittest discover -v -s tests/ -p "*_test.py"
|
|
|
|
sdist:
|
|
python3 setup.py sdist
|
|
|
|
clean:
|
|
$(RM) -vrf build dist wheelhouse
|
|
|
|
gitclean:
|
|
git clean -e .vscode -fdx
|