From 4c28554d881eff864b579f367f434b409133abd4 Mon Sep 17 00:00:00 2001
From: Sean Dague
Date: Wed, 28 Nov 2007 16:24:28 +0000
Subject: update prebuild
Nant files now obey the target out of prebuild.xml, so Linux users will be able to build as Debug
Nant clean target now does the right thing (doesn't wipe out all of bin/)
Prebuild's own prebuild system is broken due to the .exe workaround added a while ago, will
register a bug for that seperately.
---
Prebuild/src/Core/Targets/NAntTarget.cs | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
(limited to 'Prebuild/src')
diff --git a/Prebuild/src/Core/Targets/NAntTarget.cs b/Prebuild/src/Core/Targets/NAntTarget.cs
index 5355eef..d3385e1 100644
--- a/Prebuild/src/Core/Targets/NAntTarget.cs
+++ b/Prebuild/src/Core/Targets/NAntTarget.cs
@@ -355,8 +355,8 @@ namespace Prebuild.Core.Targets
ss.WriteLine(" ");
ss.WriteLine(" ");
- ss.WriteLine(" ");
ss.WriteLine(" ");
+ ss.WriteLine(" ");
ss.WriteLine(" ");
ss.WriteLine(" ");
@@ -457,13 +457,11 @@ namespace Prebuild.Core.Targets
ss.WriteLine(" ");
ss.WriteLine(" ");
+ // actually use active config out of prebuild.xml
+ ss.WriteLine(" ", solution.ActiveConfig);
+
foreach (ConfigurationNode conf in solution.Configurations)
{
- // Set the project.config to a non-debug configuration
- if (conf.Options["DebugInformation"].ToString().ToLower() != "true")
- {
- ss.WriteLine(" ", conf.Name);
- }
ss.WriteLine();
ss.WriteLine(" ", conf.Name);
ss.WriteLine(" ", conf.Name);
@@ -559,7 +557,14 @@ namespace Prebuild.Core.Targets
ss.WriteLine(" ");
ss.WriteLine(" ");
//ss.WriteLine(" ");
- ss.WriteLine(" ");
+ ss.WriteLine(" ");
+ ss.WriteLine(" ");
+ ss.WriteLine(" ");
+ ss.WriteLine(" ");
+ ss.WriteLine(" ");
+ ss.WriteLine(" ");
+ ss.WriteLine(" ");
+ ss.WriteLine(" ");
ss.WriteLine(" ");
foreach (ProjectNode project in solution.Projects)
{
--
cgit v1.1