Files
IfcOpenShell/src/ifctester/Makefile
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
283 B
Makefile
Raw Normal View History

2023-05-09 20:49:08 +10:00
VERSION:=`date '+%y%m%d'`
SED:=sed -i
ifeq ($(UNAME_S),Darwin)
SED:=sed -i '' -e
endif
2022-08-11 16:37:46 +10:00
.PHONY: test
test:
pytest -p no:pytest-blender test
2023-05-09 20:49:08 +10:00
.PHONY: dist
dist:
rm -rf dist
$(SED) "s/999999/$(VERSION)/" pyproject.toml
python -m build
$(SED) "s/$(VERSION)/999999/" pyproject.toml