nimbus-build-system/scripts/create_nbs_paths.sh
2022-10-14 23:43:51 +03:00

17 lines
348 B
Bash
Executable File

#!/usr/bin/env bash
cd "${ABS_PATH}/../../.."
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
echo --path:"\"$file\""
fi
done >> nimbus-build-system.paths