mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
7 lines
308 B
Bash
Executable File
7 lines
308 B
Bash
Executable File
#!/bin/zsh
|
|
extra_args=()
|
|
if [ -n "$LLVM_CACHE_CAS_PATH" ]; then
|
|
extra_args+=(-Xswiftc -explicit-module-build -Xswiftc -cache-compile-job -Xswiftc -cas-path -Xswiftc "$LLVM_CACHE_CAS_PATH" -Xswiftc -Xfrontend -Xswiftc -cas-backend)
|
|
fi
|
|
exec swift run -c release --package-path "$0:A:h" "$extra_args[@]" "$@"
|