

|
Valid XHTML v1.0
Author Profile
Administrator 
Top Authors
Log In to set widget preferences
| Author | # |
|---|---|
|
185 |
|
148 |
Anonymous User
|
49 |
|
28 |
Kimberly Hieber
|
27 |
|
23 |
Note: some conversations may be proxied or secured, thereby causing # differences
Subscribe
Partners
Recent
Tags
Log In to set widget preferences
Recent
Log In to set widget preferences
Most Active
Log In to set widget preferences
Popular
Log In to set widget preferences
|
cc.rb how to add an app
by Kalivo Support on 2008-06-05 04:15 PM read 351 times
|
In case theath (me) isn't around, here's the steps that go into adding cc.rb:
Your build will probably fail at first. To trouble shoot it, you can find it in ~/.cruise/projects/<ProjectName>
In that directory, you'll see a work directory (where the svn checkout resides, and the code that cc.rb uses to build), several build directories (handy if you need to check some different logs from the build), and a cruise_config.rb.
If you want cruise to do some magic stuff before your project is built (or build it a special way) and you're using Ruby, you can define a Rake task named 'cruise' that will get executed automagically. If you're not using Ruby or you need something besides 'cruise' to happen, you can edit cruise_config's project.rake_task or project.build_command (one of those needs to be commented out; they'll step on each other's toes).
For a Java project, for example, you'd set the project.build_command to something like "ant build test."
You can also set email notifications in the cruise_config, so if you want to receive a friendly reminder that your build is failing any time someone checks in something that fails, go ahead and do that.
Log In to Reply |
Log In to Copy |
Tell a Friend
|
Trackback URL: http://www.kalivo.com/trackback/1017-cc-rb-how-to-add-an-app
