add windows stub
This commit is contained in:
1 parent
e4dc8bd473
commit
321388b98d
13 files changed
+103
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
TARGET=$1
|
||||
STEP=$((STEP+1))
|
||||
echo "Step $STEP: run $TARGET for Windows"
|
||||
|
||||
BIN_DIR=$(swift build --package-path "$(cygpath -m "$SDIR/../ver-windows")" --show-bin-path)
|
||||
EXE="$(cygpath -u "${BIN_DIR%$'\r'}")/$TARGET.exe"
|
||||
if [[ ! -f "$EXE" ]]; then
|
||||
echo "Run util/build-windows first." >&2
|
||||
exit 1
|
||||
fi
|
||||
exec "$EXE"
|
||||
Reference in new issue
Block a user