See #2673. Bundle IfcTester for PyPI.

This commit is contained in:
Dion Moult
2023-05-09 20:49:08 +10:00
parent 3ea7e28b12
commit c5154ec594
3 changed files with 95 additions and 0 deletions
+13
View File
@@ -1,3 +1,16 @@
VERSION:=`date '+%y%m%d'`
SED:=sed -i
ifeq ($(UNAME_S),Darwin)
SED:=sed -i '' -e
endif
.PHONY: test
test:
pytest -p no:pytest-blender test
.PHONY: dist
dist:
rm -rf dist
$(SED) "s/999999/$(VERSION)/" pyproject.toml
python -m build
$(SED) "s/$(VERSION)/999999/" pyproject.toml