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))
|
STEP=$((STEP+1))
|
||||||
echo -e "\n> > > > Step №$STEP. Build '$TARGET' for Windows"
|
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))
|
STEP=$((STEP+1))
|
||||||
echo "Step $STEP: run $TARGET for Windows"
|
echo "Step $STEP: run $TARGET for Windows"
|
||||||
|
|
||||||
BIN_DIR=$(swift build --package-path "$(cygpath -m "$SDIR/../ver-windows")" --show-bin-path)
|
cd "$SDIR/../ver-windows"
|
||||||
EXE="$(cygpath -u "${BIN_DIR%$'\r'}")/$TARGET.exe"
|
"./.build/debug/$TARGET.exe"
|
||||||
exec "$EXE"
|
|
||||||
Reference in new issue
Block a user