Make sure the path is understandable for nim on windows (#49)

This commit is contained in:
Ivan Yonchovski 2022-09-12 12:50:14 +03:00 committed by GitHub
parent c7977002fb
commit daff2b4670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ export NIMBUS_BUILD_SYSTEM=yes
echo "--noNimblePath" > nimbus-build-system.paths
for file in $(ls -d $PWD/vendor/*)
do
if uname | grep -qiE "mingw|msys"; then
file=$(cygpath -m $file)
fi
if [ -d "$file/src" ]; then
echo --path:"\"$file/src\""
else