added a way to pull in external nant targets for release processing

afrisby
Sean Dague 2007-09-17 08:32:20 +00:00
parent 8792645e0d
commit 77c157342a
1 changed files with 10 additions and 9 deletions

View File

@ -491,16 +491,17 @@ public class NAntTarget : ITarget
ss.WriteLine();
// sdague - make a zip target
ss.WriteLine(" <target name=\"zip\" description=\"\">");
ss.WriteLine(" <zip zipfile=\"{0}-{1}.zip\">", solution.Name, solution.Version);
ss.WriteLine(" <fileset basedir=\"${project::get-base-directory()}\">");
ss.WriteLine(" <include buildfile=\".nant/local.include\" />");
// ss.WriteLine(" <target name=\"zip\" description=\"\">");
// ss.WriteLine(" <zip zipfile=\"{0}-{1}.zip\">", solution.Name, solution.Version);
// ss.WriteLine(" <fileset basedir=\"${project::get-base-directory()}\">");
ss.WriteLine(" <include name=\"${project::get-base-directory()}/**/*.cs\" />");
// ss.WriteLine(" <include name=\"${project.main.dir}/**/*\" />");
ss.WriteLine(" </fileset>");
ss.WriteLine(" </zip>");
ss.WriteLine(" <echo message=\"Building zip target\" />");
ss.WriteLine(" </target>");
// ss.WriteLine(" <include name=\"${project::get-base-directory()}/**/*.cs\" />");
// // ss.WriteLine(" <include name=\"${project.main.dir}/**/*\" />");
// ss.WriteLine(" </fileset>");
// ss.WriteLine(" </zip>");
// ss.WriteLine(" <echo message=\"Building zip target\" />");
// ss.WriteLine(" </target>");
ss.WriteLine();