Skip to content

Commit

Permalink
Make sure the path is understandable for nim on windows (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyoncho authored Sep 12, 2022
1 parent c797700 commit daff2b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit daff2b4

Please sign in to comment.