Package BCF 2.1 schemas with distribution

This commit is contained in:
Dion Moult
2020-03-21 21:54:53 +11:00
parent 65a5dcbe25
commit 7079e2aee2
+10
View File
@@ -146,6 +146,16 @@ endif
cp -r dist/working/BCF-Plugin-FreeCAD-fix-headless/bcfplugin dist/
rm -rf dist/working
mkdir dist/working
cd dist/working && wget https://raw.githubusercontent.com/buildingSMART/BCF-XML/release_2_1/Schemas/project.xsd
cd dist/working && wget https://raw.githubusercontent.com/buildingSMART/BCF-XML/release_2_1/Extension%20Schemas/extensions.xsd
cd dist/working && wget https://raw.githubusercontent.com/buildingSMART/BCF-XML/release_2_1/Schemas/markup.xsd
cd dist/working && wget https://raw.githubusercontent.com/buildingSMART/BCF-XML/release_2_1/Schemas/version.xsd
cd dist/working && wget https://raw.githubusercontent.com/buildingSMART/BCF-XML/release_2_1/Schemas/visinfo.xsd
mkdir dist/bcfplugin/schemas/
cp -r dist/working/*.xsd dist/bcfplugin/schemas/
rm -rf dist/working
cd dist/ && wget https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcdiff/ifcdiff.py
cd dist/blenderbim && sed -i "s/999999/$(VERSION)/" __init__.py