updates
This commit is contained in:
+3
-2
@@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
BUILD_DIR="$(mktemp -d)"
|
||||
source scripts/common.sh
|
||||
BUILD_DIR="$(mktemp -d "$TARNAX_SCRATCH_ROOT/contracts.XXXXXX")"
|
||||
trap 'rm -rf "$BUILD_DIR"' EXIT
|
||||
xcrun swiftc -parse-as-library -module-cache-path "$BUILD_DIR/cache" Tarnax/Core.swift Tests/ContractTests.swift -o "$BUILD_DIR/ContractTests"
|
||||
"$BUILD_DIR/ContractTests"
|
||||
|
||||
Reference in New Issue
Block a user