Can you use CruiseControl to build Cocoa/Objective-C projects?
Asked Answered
T

2

9

Has anyone ever set up Cruise Control to build an OS X Cocoa/Objective-C project?

If so, is there a preferred flavor of CruiseControl (CruiseControl.rb or just regular CruiseControl) that would be easier to do this with.

I currently have a Ruby rake file that has steps for doing building and running tests, and wanted to automate this process after doing a checkin.

Also, does CruiseControl have support for git? I couldn't find anything on the website for this.

Torpor answered 27/8, 2008 at 16:26 Comment(0)
T
9

Yes, you just run xcode builds via the command line (xcodebuild) which makes it simple to target from CC via an ant <exec>. I've been using just regular CC, not the ruby version and it works fine. Here's a barebones example:

<project name="cocoathing" default="build">
  <target name="build">
    <exec executable="xcodebuild" dir="CocoaThing" failonerror="true">
      <arg line="-target CocoaThing -buildstyle Deployment build" />
    </exec>
  </target>
</project>

More info on xcodebuild

And there does appear to be a standard git object here, but I don't use git so I can't tell you much more than that!

Typify answered 27/8, 2008 at 17:43 Comment(1)
This is old, but I thought I'd update. I've switched from CruiseControl to Hudson and never looked back :)Typify
P
0

Yes, CruiseControl has a support for git.

Phototransistor answered 10/11, 2008 at 20:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.