views:

65

answers:

3

I can't make nant do a release build of Caliburn using their build.cmd. Can anyone tell me how to?

What command line parameters should I use?

+2  A: 

You need to edit Caliburn.build - from the docs:

You can edit "Caliburn.build" in your root folder to configure the build for release or a number of other options.

GraemeF
Ok. Setting the value to release in the child property of: <target name="config" depends="init"> does the work. Thanks! :)
asgerhallas
It seems there is a command line way too. See my answer.
asgerhallas
+1  A: 

Even eaiser is to use:

build "-D:build.config=release"

Remember the double qoutes! :)

asgerhallas
+1  A: 

Perhaps I should add a few more cmds for significant build options?

EisenbergEffect
That would be very convenient! Especially for for people like me with no Nant experience. Thank you for responding to this :)
asgerhallas
I see it's already there now. Thank you very much! :)
asgerhallas