diff --git a/hello/hello-platform/util/step/buildWindows b/hello/hello-platform/util/step/buildWindows index 50dbf78..4ea24f4 100644 --- a/hello/hello-platform/util/step/buildWindows +++ b/hello/hello-platform/util/step/buildWindows @@ -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 diff --git a/hello/hello-platform/util/step/runWindows b/hello/hello-platform/util/step/runWindows index 4eefe59..ad89a14 100644 --- a/hello/hello-platform/util/step/runWindows +++ b/hello/hello-platform/util/step/runWindows @@ -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"