Permalink
Browse files

Added NAnt and nant build script. Atm, this only builds the framework…

… and run the unit tests. Extensions and Sample apps will follow.
  • Loading branch information...
1 parent 65ff4da commit a926d1df45b066394774ec07faf80d26b30e650e @pjvds committed Jul 17, 2010
Showing with 33,961 additions and 0 deletions.
  1. +2 −0 BUILD.bat
  2. +58 −0 MAIN.build
  3. BIN tools/nant/NAnt.CompressionTasks.dll
  4. BIN tools/nant/NAnt.CompressionTasks.pdb
  5. +711 −0 tools/nant/NAnt.CompressionTasks.xml
  6. BIN tools/nant/NAnt.Core.dll
  7. BIN tools/nant/NAnt.Core.pdb
  8. +16,161 −0 tools/nant/NAnt.Core.xml
  9. BIN tools/nant/NAnt.DotNetTasks.dll
  10. BIN tools/nant/NAnt.DotNetTasks.pdb
  11. +5,334 −0 tools/nant/NAnt.DotNetTasks.xml
  12. BIN tools/nant/NAnt.MSNetTasks.dll
  13. BIN tools/nant/NAnt.MSNetTasks.pdb
  14. +579 −0 tools/nant/NAnt.MSNetTasks.xml
  15. BIN tools/nant/NAnt.NUnit.dll
  16. BIN tools/nant/NAnt.NUnit.pdb
  17. +353 −0 tools/nant/NAnt.NUnit.xml
  18. BIN tools/nant/NAnt.NUnit1Tasks.dll
  19. BIN tools/nant/NAnt.NUnit1Tasks.pdb
  20. +538 −0 tools/nant/NAnt.NUnit1Tasks.xml
  21. BIN tools/nant/NAnt.NUnit2Tasks.dll
  22. BIN tools/nant/NAnt.NUnit2Tasks.pdb
  23. +584 −0 tools/nant/NAnt.NUnit2Tasks.xml
  24. BIN tools/nant/NAnt.SourceControlTasks.dll
  25. BIN tools/nant/NAnt.SourceControlTasks.pdb
  26. +1,279 −0 tools/nant/NAnt.SourceControlTasks.xml
  27. BIN tools/nant/NAnt.VSNetTasks.dll
  28. BIN tools/nant/NAnt.VSNetTasks.pdb
  29. +3,961 −0 tools/nant/NAnt.VSNetTasks.xml
  30. BIN tools/nant/NAnt.VisualCppTasks.dll
  31. BIN tools/nant/NAnt.VisualCppTasks.pdb
  32. +1,211 −0 tools/nant/NAnt.VisualCppTasks.xml
  33. BIN tools/nant/NAnt.Win32Tasks.dll
  34. BIN tools/nant/NAnt.Win32Tasks.pdb
  35. +753 −0 tools/nant/NAnt.Win32Tasks.xml
  36. BIN tools/nant/NAnt.exe
  37. +2,323 −0 tools/nant/NAnt.exe.config
  38. BIN tools/nant/NAnt.pdb
  39. +78 −0 tools/nant/NAnt.xml
  40. BIN tools/nant/NDoc.Documenter.NAnt.dll
  41. BIN tools/nant/NDoc.Documenter.NAnt.pdb
  42. BIN tools/nant/extensions/common/2.0/NAnt.MSBuild.dll
  43. BIN tools/nant/extensions/common/2.0/NAnt.MSBuild.pdb
  44. +36 −0 tools/nant/extensions/common/2.0/NAnt.MSBuild.xml
  45. BIN tools/nant/lib/common/1.1/nunit-console-runner.dll
  46. BIN tools/nant/lib/common/1.1/nunit-console.exe
  47. BIN tools/nant/lib/common/1.1/nunit.core.dll
  48. BIN tools/nant/lib/common/1.1/nunit.framework.dll
  49. BIN tools/nant/lib/common/1.1/nunit.util.dll
  50. BIN tools/nant/lib/common/2.0/nunit-console-runner.dll
  51. BIN tools/nant/lib/common/2.0/nunit-console.exe
  52. BIN tools/nant/lib/common/2.0/nunit.core.dll
  53. BIN tools/nant/lib/common/2.0/nunit.framework.dll
  54. BIN tools/nant/lib/common/2.0/nunit.util.dll
  55. BIN tools/nant/lib/common/neutral/ICSharpCode.SharpCvsLib.Console.dll
  56. BIN tools/nant/lib/common/neutral/ICSharpCode.SharpCvsLib.dll
  57. BIN tools/nant/lib/common/neutral/ICSharpCode.SharpZipLib.dll
  58. BIN tools/nant/lib/common/neutral/NDoc.Core.dll
  59. BIN tools/nant/lib/common/neutral/NDoc.Documenter.Msdn.dll
  60. BIN tools/nant/lib/common/neutral/NDoc.ExtendedUI.dll
  61. BIN tools/nant/lib/common/neutral/NUnitCore.dll
  62. BIN tools/nant/lib/net/1.0/NDoc.Core.dll
  63. BIN tools/nant/lib/net/1.0/NDoc.Documenter.Msdn.dll
  64. BIN tools/nant/lib/net/1.0/NDoc.ExtendedUI.dll
  65. BIN tools/nant/lib/net/1.0/nunit-console-runner.dll
  66. BIN tools/nant/lib/net/1.0/nunit-console.exe
  67. BIN tools/nant/lib/net/1.0/nunit.core.dll
  68. BIN tools/nant/lib/net/1.0/nunit.framework.dll
  69. BIN tools/nant/lib/net/1.0/nunit.util.dll
  70. BIN tools/nant/log4net.dll
  71. BIN tools/nant/scvs.exe
View
@@ -0,0 +1,2 @@
+tools\nant\nant.exe /f:"MAIN.build"
+pause
View
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<project name="NAnt Examples" default="build">
+ <property name="nant.settings.currentframework" value="net-4.0" />
+ <property name="root.dir" value="" />
+ <property name="project.config" value="debug" />
+ <property name="project.framework.bin" value="Framework\src\Ncqrs\bin\${project.config}" />
+
+ <target name="build">
+ <call target="BuildFramework" />
+ <call target="RunTestsForFramework" />
+<!-- <call target="UpdateLibForExtensions" />
+ <call target="BuildExtensions" />-->
+ </target>
+
+ <target name="BuildFramework">
+ <!--<solution solutionfile="Framework\NcqrsFramework.sln" configuration="debug" />-->
+ <exec program="msbuild">
+ <arg value="Framework\NcqrsFramework.sln" />
+ <arg value="/p:Configuration=${project.config}" />
+ <!--<arg value="/t:rebuild" />-->
+ </exec>
+ </target>
+
+ <target name="BuildExtensions" depends="UpdateLibForExtensions">
+ <exec program="msbuild">
+ <arg value="Extensions\NcqrsExtensions.sln" />
+ <arg value="/p:Configuration=${project.config}" />
+ <!--<arg value="/t:rebuild" />-->
+ </exec>
+ </target>
+
+ <target name="RunTestsForFramework" depends="BuildFramework">
+ <nunit2 verbose="false">
+ <formatter type="Plain" />
+ <test assemblyname="Framework\src\Ncqrs.Tests\bin\Debug\Ncqrs.Tests.dll" />
+ </nunit2>
+ </target>
+
+ <target name="UpdateAllLibFolders" depends="BuildFramework">
+ <call target="UpdateLibForExtensions" />
+ <call target="UpdateLibForMyNotesSample" />
+ </target>
+
+ <target name="UpdateLibForExtensions" depends="BuildFramework">
+ <echo message="Updating Extensions lib folder" />
+ <copy todir="Extensions\lib\Ncqrs" flatten="false" overwrite="true">
+ <fileset basedir="Framework\src\Ncqrs\bin\${project.config}">
+ <include name="**/*" />
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="UpdateLibForMyNotesSample" depends="BuildFramework">
+ <echo message="Updating MyNotes lib folder" />
+ <copy file="${project.framework.bin}\Ncqrs.dll" todir="Samples\MyNotes\lib" overwrite="true" />
+ <copy file="${project.framework.bin}\Ncqrs.pdb" todir="Samples\MyNotes\lib" overwrite="true" />
+ </target>
+</project>
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit a926d1d

Please sign in to comment.