Permalink
Browse files

Added NAnt and an automated build

  • Loading branch information...
1 parent 8aaa358 commit a7f3b8f29dbe2e7d04c84ab9cfe2c64a2792baae kyle.baley committed Feb 25, 2009
Showing with 32,727 additions and 0 deletions.
  1. +55 −0 SharpArch.build
  2. BIN bin/Nant/NAnt.CompressionTasks.dll
  3. +615 −0 bin/Nant/NAnt.CompressionTasks.xml
  4. BIN bin/Nant/NAnt.Core.dll
  5. +15,577 −0 bin/Nant/NAnt.Core.xml
  6. BIN bin/Nant/NAnt.DotNetTasks.dll
  7. +5,318 −0 bin/Nant/NAnt.DotNetTasks.xml
  8. BIN bin/Nant/NAnt.MSNetTasks.dll
  9. +579 −0 bin/Nant/NAnt.MSNetTasks.xml
  10. BIN bin/Nant/NAnt.NUnit.dll
  11. +353 −0 bin/Nant/NAnt.NUnit.xml
  12. BIN bin/Nant/NAnt.NUnit1Tasks.dll
  13. +538 −0 bin/Nant/NAnt.NUnit1Tasks.xml
  14. BIN bin/Nant/NAnt.NUnit2Tasks.dll
  15. +568 −0 bin/Nant/NAnt.NUnit2Tasks.xml
  16. BIN bin/Nant/NAnt.SourceControlTasks.dll
  17. +1,283 −0 bin/Nant/NAnt.SourceControlTasks.xml
  18. BIN bin/Nant/NAnt.VSNetTasks.dll
  19. +3,912 −0 bin/Nant/NAnt.VSNetTasks.xml
  20. BIN bin/Nant/NAnt.VisualCppTasks.dll
  21. +1,205 −0 bin/Nant/NAnt.VisualCppTasks.xml
  22. BIN bin/Nant/NAnt.Win32Tasks.dll
  23. +690 −0 bin/Nant/NAnt.Win32Tasks.xml
  24. BIN bin/Nant/NAnt.exe
  25. +1,918 −0 bin/Nant/NAnt.exe.config
  26. +78 −0 bin/Nant/NAnt.xml
  27. BIN bin/Nant/NDoc.Documenter.NAnt.dll
  28. BIN bin/Nant/extensions/common/2.0/NAnt.MSBuild.dll
  29. +37 −0 bin/Nant/extensions/common/2.0/NAnt.MSBuild.xml
  30. BIN bin/Nant/lib/common/neutral/ICSharpCode.SharpCvsLib.Console.dll
  31. BIN bin/Nant/lib/common/neutral/ICSharpCode.SharpCvsLib.dll
  32. BIN bin/Nant/lib/common/neutral/ICSharpCode.SharpZipLib.dll
  33. BIN bin/Nant/lib/common/neutral/NUnitCore.dll
  34. BIN bin/Nant/lib/mono/1.0/NDoc.Core.dll
  35. BIN bin/Nant/lib/mono/1.0/NDoc.Documenter.Msdn.dll
  36. BIN bin/Nant/lib/mono/1.0/NDoc.ExtendedUI.dll
  37. BIN bin/Nant/lib/mono/1.0/nunit.core.dll
  38. BIN bin/Nant/lib/mono/1.0/nunit.framework.dll
  39. BIN bin/Nant/lib/mono/1.0/nunit.util.dll
  40. BIN bin/Nant/lib/mono/2.0/NDoc.Core.dll
  41. BIN bin/Nant/lib/mono/2.0/NDoc.Documenter.Msdn.dll
  42. BIN bin/Nant/lib/mono/2.0/NDoc.ExtendedUI.dll
  43. BIN bin/Nant/lib/mono/2.0/nunit.core.dll
  44. BIN bin/Nant/lib/mono/2.0/nunit.framework.dll
  45. BIN bin/Nant/lib/mono/2.0/nunit.util.dll
  46. BIN bin/Nant/lib/net/1.0/NDoc.Core.dll
  47. BIN bin/Nant/lib/net/1.0/NDoc.Documenter.Msdn.dll
  48. BIN bin/Nant/lib/net/1.0/NDoc.ExtendedUI.dll
  49. BIN bin/Nant/lib/net/1.0/nunit.core.dll
  50. BIN bin/Nant/lib/net/1.0/nunit.framework.dll
  51. BIN bin/Nant/lib/net/1.0/nunit.util.dll
  52. BIN bin/Nant/lib/net/1.1/NDoc.Core.dll
  53. BIN bin/Nant/lib/net/1.1/NDoc.Documenter.Msdn.dll
  54. BIN bin/Nant/lib/net/1.1/NDoc.ExtendedUI.dll
  55. BIN bin/Nant/lib/net/1.1/nunit.core.dll
  56. BIN bin/Nant/lib/net/1.1/nunit.framework.dll
  57. BIN bin/Nant/lib/net/1.1/nunit.util.dll
  58. BIN bin/Nant/lib/net/2.0/NDoc.Core.dll
  59. BIN bin/Nant/lib/net/2.0/NDoc.Documenter.Msdn.dll
  60. BIN bin/Nant/lib/net/2.0/NDoc.ExtendedUI.dll
  61. BIN bin/Nant/lib/net/2.0/nunit.core.dll
  62. BIN bin/Nant/lib/net/2.0/nunit.framework.dll
  63. BIN bin/Nant/lib/net/2.0/nunit.util.dll
  64. BIN bin/Nant/log4net.dll
  65. BIN bin/Nant/scvs.exe
  66. +1 −0 go.bat
View
@@ -0,0 +1,55 @@
+<?xml version="1.0" ?>
+<project name="SharpArch" default="test" xmlns="http://nant.sf.net/schemas/nant.xsd">
+ <property name="nant.settings.currentframework" value="net-3.5" />
+ <property name="project.config" value="debug" />
+
+ <!-- Directories and files -->
+ <property name="build.dir" value="build" />
+ <property name="solution.dir" value=".\src\SharpArch"/>
+ <property name="base.dir" value="${project::get-base-directory()}\SharpArch" />
+ <property name="current.dir" value="${directory::get-current-directory()}" />
+ <property name="solution.file" value="${solution.dir}\${project::get-name()}.sln"/>
+ <property name="results.dir" value="${build.dir}\results" />
+
+ <!-- Assemblies -->
+ <property name="test.assembly" value="${project::get-name()}.Tests.dll" />
+
+ <!-- User targets -->
+ <target name="clean" description="Delete Automated Build artifacts">
+ <delete dir="${build.dir}" if="${directory::exists(build.dir)}"/>
+ </target>
+
+ <target name="compile" description="Compiles the app" depends="clean">
+ <echo message="${current.dir}" />
+ <exec program="${framework::get-framework-directory(framework::get-target-framework())}\msbuild.exe"
+ commandline="${solution.file} /t:Clean /p:Configuration=${project.config};SolutionDir=${solution.dir} /v:q" workingdir="." />
+ <exec program="${framework::get-framework-directory(framework::get-target-framework())}\msbuild.exe"
+ commandline="${solution.file} /t:Rebuild /p:Configuration=${project.config};SolutionDir=${solution.dir} /v:q" workingdir="." />
+ </target>
+
+
+ <target name="move-for-test">
+ <copy todir="${build.dir}" flatten="true">
+ <fileset basedir="${solution.dir}">
+ <include name="/**/bin/${project.config}/**" />
+ </fileset>
+ </copy>
+ <copy todir="${build.dir}" flatten="true">
+ <fileset basedir="${current.dir}">
+ <include name="bin/**" />
+ <exclude name="bin/Nant/**" />
+ </fileset>
+ </copy>
+
+ </target>
+
+ <target name="test" depends="compile, move-for-test">
+ <nunit2 failonerror="true" verbose="true">
+ <formatter type="Xml" outputdir="${results.dir}" usefile="true" extension=".xml"/>
+ <formatter type="Plain" />
+ <test assemblyname="${build.dir}/${test.assembly}" />
+ </nunit2>
+ </target>
+
+</project>
+
Binary file not shown.
Oops, something went wrong.

0 comments on commit a7f3b8f

Please sign in to comment.