mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
ifctester - move build-ids-docs target to ifctester Makefile
Also added a note why it lives in test folder and added it's output to gitignore.
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
/_installed-vs*-x*/
|
/_installed-vs*-x*/
|
||||||
/build/
|
/build/
|
||||||
/src/examples/build/
|
/src/examples/build/
|
||||||
|
# ifctester docs output
|
||||||
|
/src/ifctester/test/build/
|
||||||
|
|
||||||
# output directories
|
# output directories
|
||||||
/cmake/out/
|
/cmake/out/
|
||||||
|
|||||||
@@ -79,10 +79,6 @@ test-parallel:
|
|||||||
test-mathutils:
|
test-mathutils:
|
||||||
pytest -p no:pytest-blender test/util/test_shape_builder.py
|
pytest -p no:pytest-blender test/util/test_shape_builder.py
|
||||||
|
|
||||||
.PHONY: build-ids-docs
|
|
||||||
build-ids-docs:
|
|
||||||
mkdir -p test/build
|
|
||||||
cd test && python ids_doc_generator.py
|
|
||||||
|
|
||||||
.PHONY: qa
|
.PHONY: qa
|
||||||
qa:
|
qa:
|
||||||
|
|||||||
@@ -96,3 +96,8 @@ webapp-prepare: webapp-build
|
|||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
pytest -p no:pytest-blender test
|
pytest -p no:pytest-blender test
|
||||||
|
|
||||||
|
.PHONY: build-ids-docs
|
||||||
|
build-ids-docs:
|
||||||
|
mkdir -p test/build
|
||||||
|
cd test && python ids_doc_generator.py
|
||||||
|
|||||||
@@ -16,6 +16,16 @@
|
|||||||
# You should have received a copy of the GNU Lesser General Public License
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
# along with IfcTester. If not, see <http://www.gnu.org/licenses/>.
|
# along with IfcTester. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
"""
|
||||||
|
Documentation generator for IfcTester IDS facets and test cases.
|
||||||
|
|
||||||
|
This is not a test file. It lives in the test/ directory because it reuses
|
||||||
|
test cases from test_facet.py and test_ids.py to generate example IFC files,
|
||||||
|
IDS files, and Markdown documentation into test/build/.
|
||||||
|
|
||||||
|
Run via: make build-ids-docs (from src/ifctester/)
|
||||||
|
"""
|
||||||
|
|
||||||
import functools
|
import functools
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|||||||
Reference in New Issue
Block a user