From e2e4da9e37cb6731c89d0ec2fbd53f79a7aa4ce0 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Tue, 5 Jan 2021 22:43:00 -0500 Subject: [PATCH] Modify the build to also put a copy of the disk image on my webserver so it is easy to get onto my real GS for testing. --- BuGS/make/createDiskImage | 8 ++++++++ BuGS/make/launchEmulator | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/BuGS/make/createDiskImage b/BuGS/make/createDiskImage index ccd3a5d..59828c6 100755 --- a/BuGS/make/createDiskImage +++ b/BuGS/make/createDiskImage @@ -115,6 +115,14 @@ then cleanupAndExit fi +# This is a special case for my personal build environment. If I can find my home directory +# and the Sites directory in it, then also put a copy of the build there also. This makes it +# available over http to my real GS so I can test it there also. +if [ -d /Users/jrand/Sites ] +then + cp "$TMPDISKIMAGE" /Users/jrand/Sites/BuGS.2mg +fi + rm -f "$TMPDISKIMAGE" rmdir "$MOUNTDIR" exit 0 diff --git a/BuGS/make/launchEmulator b/BuGS/make/launchEmulator index 2917ac1..af8deaf 100755 --- a/BuGS/make/launchEmulator +++ b/BuGS/make/launchEmulator @@ -28,8 +28,7 @@ then DISKIMAGE="$PWD/$DISKIMAGE" fi -# This magic ensure that clicking stop in Xcode results in the emulator terminating. - +# This magic ensures that clicking stop in Xcode results in the emulator terminating. if true then cd make