Thursday, May 16, 2013

run NAnt targets

A NAnt script such as OurApp.build will contain targets like so:

<target name="foo" description="bar" depends="baz">
   
whatever...
</target>

 
 

From a command prompt one may run the NAnt target by first navigating to the folder holding the .build file and then running a command like so:

NAnt foo

 
 

I am NOT giving a mention of OurApp.build in the command so I'm not sure how it is found. Perhaps there is a one .build file per folder convention??? I dunno.

No comments:

Post a Comment