mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
dev_environment.bat - ensure symlinks are loaded #6473
This commit is contained in:
@@ -30,6 +30,12 @@ pause
|
||||
echo Changing to the Git repository directory...
|
||||
cd %REPO_PATH%
|
||||
|
||||
:: Handle symlinks (they could be disabled by default on Windows).
|
||||
git config --local core.symlinks true
|
||||
:: Delete and checkout is the only way to ensure files are added as symlinks.
|
||||
del /Q src\bonsai\bonsai\bim\data\templates\projects\*.ifc
|
||||
git checkout -- src/bonsai/bonsai/bim/data/templates/projects/*.ifc
|
||||
|
||||
echo Copy over compiled IfcOpenShell files...
|
||||
copy "%PACKAGE_PATH%\ifcopenshell\*_wrapper*" "%CD%\src\ifcopenshell-python\ifcopenshell\"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user