I got bored switching back and forth to Terminal, so I wrote this little script that cleans the build directory, then sets up and opens a fresh Xcode project. A few more details about what it does and how to load it are at http://seandenigris.com/blog/?p=945
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'.
-- View this message in context: http://forum.world.st/Script-to-setup-fresh-Xcode-project-tp4286166p4286166.... Sent from the Squeak VM mailing list archive at Nabble.com.