Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions to download squeak vm for cygwin to build VMMaker #239

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -96,6 +96,7 @@ platforms/unix/config/autom4te.cache/
/image/Cog.app
/image/cogspurlinux*
/image/sqlinux*
/image/sqwin*
/image/cogspurwin
/image/CogSpur.app
/image/Squeak*.app
Expand Down
17 changes: 17 additions & 0 deletions image/getGoodSpurVM.sh
Expand Up @@ -55,6 +55,23 @@ else
rm -f "$LATESTVM"
fi
VM=$VM/squeak;;
CYGWIN_NT*)
VOLUME="squeak.cog.spur_win32x86_$LATESTRELEASE"
LATESTVM="$VOLUME.zip"
VM=sqwin.$LATESTRELEASE
if [ ! -d $VM ]; then
URL="https://dl.bintray.com/opensmalltalk/vm/$LATESTVM"
echo Downloading $LATESTVM from $URL
if [ "$1" = -test ]; then
echo curl -L "$URL" -o "$LATESTVM"
exit
fi
echo curl -L "$URL" -o "$LATESTVM"
curl -L "$URL" -o "$LATESTVM"
unzip $LATESTVM -d sqwin.$LATESTRELEASE
rm -f $LATESTVM
fi
VM=sqwin.$LATESTRELEASE/SqueakConsole.exe;;
*) echo do not know how to download a VM for your system 1>&2; exit 1
esac
fi
Expand Down