clarify
This commit is contained in:
1 parent
d720803a95
commit
00885409b5
2 files changed
+4
-4
No files matched your search
@@ -4,4 +4,5 @@ TARGET=$1
|
||||
STEP=$((STEP+1))
|
||||
echo -e "\n> > > > Step №$STEP. Build '$TARGET' for Windows"
|
||||
|
||||
swift build --package-path "$(cygpath -m "$SDIR/../ver-windows")"
|
||||
cd "$SDIR/../ver-windows"
|
||||
swift build
|
||||
@@ -4,6 +4,5 @@ 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"
|
||||
exec "$EXE"
|
||||
cd "$SDIR/../ver-windows"
|
||||
"./.build/debug/$TARGET.exe"
|
||||
Reference in new issue
Block a user