Distracted Attention

Scripting Sparkle Appcasts with Feeder and RubyCocoa

This article will demonstrate how easy it is to use RubyCocoa and the ScriptingBridge to talk to scriptable applications. The example I’ve used is using the Feeder (RSS Feed Creator) application to create (and optionally publish) updates to a Sparkle Appcast Feed.

Posted by Nick | August 2, 2008 | Filed under Cocoa, Featured

More xcode build scripting

Tinkered around with the appcast code from here and no doubt made it messier than the original. I’ve added two new files to xcode-build-scripts repository, appcast.rb and updateAppcastVersionInfo.rb. I’ve also updated postBuild.sh to make use of it.
Next step to add a push script to upload the appcast and zipfile to my host.
To Capistrano / Vlad [...]

Posted by Nick | July 30, 2008 | Filed under Cocoa

Script your Sparkle with Ruby

Chris Bailey has written some ruby code to automate appcast creation:
Creating Sparkle Appcast via Rake Tasks
I’ll be tinkering with his script to do the same from Xcode.

Posted by Nick | July 28, 2008 | Filed under Cocoa

Git Build Numbers for your Project

Had an idea earlier today to use script to generate incremental build numbers when compiling my Xcode projects. By default, Git uses hashes which resemble 02af6c6986c0973a38acb1a1dc392012840067c7, which is not human-friendly.
Dusted off my Programming Ruby book and put together the following:

Posted by Nick | July 21, 2008 | Filed under Cocoa, Design, Featured