mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +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*/
|
||||
/build/
|
||||
/src/examples/build/
|
||||
# ifctester docs output
|
||||
/src/ifctester/test/build/
|
||||
|
||||
# output directories
|
||||
/cmake/out/
|
||||
|
||||
@@ -79,10 +79,6 @@ test-parallel:
|
||||
test-mathutils:
|
||||
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
|
||||
qa:
|
||||
|
||||
@@ -96,3 +96,8 @@ webapp-prepare: webapp-build
|
||||
.PHONY: test
|
||||
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
|
||||
# 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 os
|
||||
import re
|
||||
|
||||
Reference in New Issue
Block a user