Instantly share code, notes, and snippets.

Embed
What would you like to do?
Squeak VM: set up for Xcode (example uses Stack VM)
PipeableOSProcess waitForCommand: '/usr/bin/osascript -e "tell application \"Xcode\" to quit"'.
buildDir := FileDirectory on: '/Developer/cogvm/cog/build/'.
buildDir entries do: [:e | e name = 'vmVersionInfo.h' ifFalse: [
e isDirectory
ifTrue: [ e asFileDirectory recursiveDelete ]
ifFalse: [ e delete ] ] ].
StackCocoaIOSConfig new
addExternalPlugins: #( FT2Plugin );
generateForDebug;
generateSources; generate.
PipeableOSProcess waitForCommand: 'cd /Developer/cogvm/cog/build/; /opt/local/bin/cmake -G Xcode'.
PipeableOSProcess waitForCommand: 'open /Developer/cogvm/cog/build/StackVM.xcodeproj'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment