/ scripts / create_nbs_paths.sh
create_nbs_paths.sh
 1  #!/usr/bin/env bash
 2  
 3  cd "$TOP_LEVEL_DIR"
 4  
 5  echo "--noNimblePath" > nimbus-build-system.paths
 6  for file in $(ls -d $PWD/vendor/*)
 7  do
 8    if uname | grep -qiE "mingw|msys"; then
 9      file=$(cygpath -m $file)
10    fi
11    if [ -d "$file/src" ]; then
12      echo --path:"\"$file/src\""
13    else
14      echo --path:"\"$file\""
15    fi
16  done >> nimbus-build-system.paths