Create hello-platform for Windows #10

Open
kornerr wants to merge 46 commits from hrbmac into master
pull from: hrbmac
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 00885409b5 - Show all commits

No files matched your search

+2 -1
View File
@@ -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
+2 -3
View File
@@ -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"