From: Scott H. <sk...@us...> - 2003-01-27 05:44:16
|
Update of /cvsroot/nant/nant In directory sc8-pr-cvs1:/tmp/cvs-serv30555 Modified Files: NAnt.build Added Files: nightly.xml Log Message: Added Changes for nightly builds. NOTE: nightly.xml requires special setup. --- NEW FILE: nightly.xml --- <?xml version="1.0"?> <project name="nant" default="nightly"> <script language="C#"> <code> <![CDATA[ public static void ScriptMain(Project project) { project.Properties.AddReadOnly("project.version", DateTime.Now.ToString("yyyyMMdd")); } ]]> </code> </script> <include buildfile="nant.build"/> <target name="nightly" depends="package" description="Perform a 'nightly' package"> <scp file="${project.zip-path}" server="shell1.sf.net" path="~/builds"/> </target> </project> Index: NAnt.build =================================================================== RCS file: /cvsroot/nant/nant/NAnt.build,v retrieving revision 1.71 retrieving revision 1.72 diff -C2 -d -r1.71 -r1.72 *** NAnt.build 17 Jan 2003 09:50:22 -0000 1.71 --- NAnt.build 27 Jan 2003 05:44:13 -0000 1.72 *************** *** 114,117 **** --- 114,118 ---- <arg value="${project.config}" /> <arg value="self-test" /> + <arg value="-D:project.version=${project.version}" /> </exec> </target> *************** *** 146,149 **** --- 147,151 ---- <arg value="${project.config}" /> <arg value="self-userdoc" /> + <arg value="-D:project.version=${project.version}" /> </exec> </target> *************** *** 175,178 **** --- 177,181 ---- <arg value="${project.config}" /> <arg value="self-sdkdoc" /> + <arg value="-D:project.version=${project.version}" /> </exec> <!-- delete everything but the .chm --> |