Permalink
Browse files

Fixed build script

  • Loading branch information...
1 parent 933fc5d commit 586651e6cd68e448d401bbbfedb9ad7bd4165cdf @jbogard jbogard committed Feb 6, 2010
Showing with 61,111 additions and 61,111 deletions.
  1. +106 −106 AutoMapper.build
  2. +23 −23 src/CommonAssemblyInfo.cs
  3. +5 −5 tools/NCover/NCover.Console.exe.config
  4. +212 −212 tools/NCover/NCoverFAQ.html
  5. +6 −6 tools/nant/GenerateNAntSchema.build
  6. +615 −615 tools/nant/NAnt.CompressionTasks.xml
  7. +18,859 −18,859 tools/nant/NAnt.Contrib.Tasks.xml
  8. +15,563 −15,563 tools/nant/NAnt.Core.xml
  9. +5,318 −5,318 tools/nant/NAnt.DotNetTasks.xml
  10. +579 −579 tools/nant/NAnt.MSNetTasks.xml
  11. +353 −353 tools/nant/NAnt.NUnit.xml
  12. +538 −538 tools/nant/NAnt.NUnit1Tasks.xml
  13. +568 −568 tools/nant/NAnt.NUnit2Tasks.xml
  14. +1,283 −1,283 tools/nant/NAnt.SourceControlTasks.xml
  15. +3,912 −3,912 tools/nant/NAnt.VSNetTasks.xml
  16. +1,205 −1,205 tools/nant/NAnt.VisualCppTasks.xml
  17. +690 −690 tools/nant/NAnt.Win32Tasks.xml
  18. +1,918 −1,918 tools/nant/NAnt.exe.config
  19. +78 −78 tools/nant/NAnt.xml
  20. +37 −37 tools/nant/extensions/common/2.0/NAnt.MSBuild.xml
  21. +81 −81 tools/nant/license.html
  22. +277 −277 tools/nunit/NUnitFitTests.html
  23. +84 −84 tools/nunit/NUnitTests.config
  24. +14 −14 tools/nunit/NUnitTests.nunit
  25. +1,297 −1,297 tools/nunit/TestResult.xml
  26. +95 −95 tools/nunit/clr.bat
  27. +72 −72 tools/nunit/license.html
  28. +59 −59 tools/nunit/mock-assembly.dll.config
  29. +116 −116 tools/nunit/nunit-console-x86.exe.config
  30. +116 −116 tools/nunit/nunit-console.exe.config
  31. +108 −108 tools/nunit/nunit-gui.exe.config
  32. +120 −120 tools/nunit/nunit-x86.exe.config
  33. +120 −120 tools/nunit/nunit.exe.config
  34. +5,622 −5,622 tools/nunit/nunit.framework.xml
  35. +43 −43 tools/nunit/runFile.exe.config
  36. +297 −297 tools/subversion/license/APR_and_Serf.license
  37. +44 −44 tools/subversion/license/CyrusSASL.license
  38. +504 −504 tools/subversion/license/Neon.license
  39. +127 −127 tools/subversion/license/OpenSSL.license
  40. +47 −47 tools/subversion/license/Subversion.license
View
@@ -1,106 +1,106 @@
-<?xml version="1.0" ?>
-<project name="AutoMapper" default="test" xmlns="http://nant.sf.net/schemas/nant.xsd">
- <property name="build.dir" value="build" />
- <property name="dist.dir" value="release" />
- <property name="src.dir" value="src" />
- <property name="tools.dir" value="tools" />
-
- <property name="nant.settings.currentframework" value="net-3.5" />
- <property name="svn.executable" value="tools/subversion/svn.exe" dynamic="true" if="${not property::exists('svn.executable')}" />
-
- <property name="revisionnumber" value="9999" dynamic="true"/>
- <property name="project.fullversion" value="1.0.1.${revisionnumber}" dynamic="true"/>
- <property name="svnargs" value=" --non-interactive " />
- <property name="config" value="Debug" />
-
- <target name="test" depends="compile, run-unit-tests"
- description="Compile and Run Tests" />
-
- <target name="full" depends="clean, commonassemblyinfo, test, merge, dist" description="Compiles, tests, and produces distributions" />
-
- <!-- 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 using the AutomatedDebug Configuration">
- <exec program="${framework::get-framework-directory(framework::get-target-framework())}\msbuild.exe"
- commandline="src\AutoMapper.sln /t:Clean /t:Build /p:Configuration=Automated${config} /v:q /nologo" workingdir="." />
- </target>
-
- <target name="commonassemblyinfo">
- <exec failonerror="false" program="${svn.executable}" commandline="info release --xml --revision HEAD ${svnargs}" output="svninfo.xml" append="false" verbose="false"/>
- <xmlpeek failonerror="false" file="svninfo.xml" xpath="/info/entry/@revision" property="revisionnumber"/>
-
- <property name="revisionnumber" value="${int::parse(revisionnumber) + 1}"/>
- <echo message="Current SVN Revision: ${revisionnumber}"/>
-
- <echo message="MARKING THIS BUILD AS VERSION ${project.fullversion}" />
- <delete file="${src.dir}/CommonAssemblyInfo.cs" failonerror="false"/>
- <asminfo output="${src.dir}/CommonAssemblyInfo.cs" language="CSharp">
- <imports>
- <import namespace="System" />
- <import namespace="System.Reflection" />
- <import namespace="System.Runtime.InteropServices" />
- </imports>
- <attributes>
- <attribute type="ComVisibleAttribute" value="false" />
- <attribute type="AssemblyVersionAttribute" value="${project.fullversion}" />
- <attribute type="AssemblyFileVersionAttribute" value="${project.fullversion}" />
- <attribute type="AssemblyCopyrightAttribute" value="Copyright © Jimmy Bogard 2008-${datetime::get-year(datetime::now())}" />
- <attribute type="AssemblyProductAttribute" value="${project::get-name()}" />
- <attribute type="AssemblyCompanyAttribute" value="" />
- <attribute type="AssemblyConfigurationAttribute" value="Debug" />
- <attribute type="AssemblyInformationalVersionAttribute" value="${project.fullversion}" />
- </attributes>
- <references>
- <include name="System.dll" />
- </references>
- </asminfo>
- </target>
-
- <target name="merge" depends="clean, compile, run-unit-tests">
- <!--<msbuild project="src\ILMerge.MSBuild"/>-->
- <mkdir dir="${build.dir}\merge" />
- <exec program="${tools.dir}\ILMerge\ilmerge.exe"
- commandline="/v2 /log /out:&quot;${build.dir}\merge\AutoMapper.dll&quot; /internalize:AutoMapper.exclude &quot;${build.dir}\${config}\AutoMapper\AutoMapper.dll&quot; &quot;${build.dir}\${config}\AutoMapper\LinFu.DynamicProxy.dll&quot; /keyfile:&quot;${src.dir}\AutoMapper.snk&quot;" workingdir="." />
- </target>
-
- <!-- Internal targets -->
- <target name="run-unit-tests">
- <mkdir dir="${build.dir}\results" />
- <nunit2 failonerror="true" verbose="true">
- <formatter type="Xml" outputdir="${build.dir}\results" usefile="true" extension=".xml"/>
- <formatter type="Plain" />
- <test assemblyname="${build.dir}/${config}/UnitTests/AutoMapper.UnitTests.dll"/>
- </nunit2>
- </target>
-
- <target name="dist">
- <copy todir="${build.dir}\dist-merged">
- <fileset basedir="${build.dir}\merge">
- <include name="**\*"/>
- <exclude name="**\*.pdb" />
- </fileset>
- </copy>
- <copy todir="${build.dir}\dist">
- <fileset basedir="${build.dir}\${config}\AutoMapper">
- <include name="**\*"/>
- <exclude name="**\*.pdb" />
- </fileset>
- </copy>
- <zip zipfile="${dist.dir}\AutoMapper.zip">
- <fileset basedir="${build.dir}\dist">
- <include name="**\*" />
- </fileset>
- </zip>
- <zip zipfile="${dist.dir}\AutoMapper-merged.zip">
- <fileset basedir="${build.dir}\dist-merged">
- <include name="**\*" />
- </fileset>
- </zip>
- <copy file="${build.dir}\dist-merged\AutoMapper.dll" tofile="${dist.dir}\AutoMapper.dll" />
- </target>
-
-</project>
-
+<?xml version="1.0" ?>
+<project name="AutoMapper" default="test" xmlns="http://nant.sf.net/schemas/nant.xsd">
+ <property name="build.dir" value="build" />
+ <property name="dist.dir" value="release" />
+ <property name="src.dir" value="src" />
+ <property name="tools.dir" value="tools" />
+
+ <property name="nant.settings.currentframework" value="net-3.5" />
+ <property name="svn.executable" value="tools/subversion/svn.exe" dynamic="true" if="${not property::exists('svn.executable')}" />
+
+ <property name="revisionnumber" value="9999" dynamic="true"/>
+ <property name="project.fullversion" value="1.0.1.999" />
+ <property name="project.fullversion" value="${build.number}" if="${property::exists('build.number')}"/>
+ <property name="svnargs" value=" --non-interactive " />
+ <property name="config" value="Debug" />
+
+ <target name="test" depends="compile, run-unit-tests"
+ description="Compile and Run Tests" />
+
+ <target name="full" depends="clean, commonassemblyinfo, test, merge, dist" description="Compiles, tests, and produces distributions" />
+
+ <!-- User targets -->
+ <target name="clean" description="Delete Automated Build artifacts">
+ <delete dir="${build.dir}" if="${directory::exists(build.dir)}"/>
+ <delete dir="${dist.dir}" if="${directory::exists(dist.dir)}"/>
+ </target>
+
+ <target name="compile" description="Compiles using the AutomatedDebug Configuration">
+ <exec program="${framework::get-framework-directory(framework::get-target-framework())}\msbuild.exe"
+ commandline="src\AutoMapper.sln /t:Clean /t:Build /p:Configuration=Automated${config} /v:q /nologo" workingdir="." />
+ </target>
+
+ <target name="commonassemblyinfo">
+ <echo message="MARKING THIS BUILD AS VERSION ${project.fullversion}" />
+ <delete file="${src.dir}/CommonAssemblyInfo.cs" failonerror="false"/>
+ <asminfo output="${src.dir}/CommonAssemblyInfo.cs" language="CSharp">
+ <imports>
+ <import namespace="System" />
+ <import namespace="System.Reflection" />
+ <import namespace="System.Runtime.InteropServices" />
+ </imports>
+ <attributes>
+ <attribute type="ComVisibleAttribute" value="false" />
+ <attribute type="AssemblyVersionAttribute" value="${project.fullversion}" />
+ <attribute type="AssemblyFileVersionAttribute" value="${project.fullversion}" />
+ <attribute type="AssemblyCopyrightAttribute" value="Copyright © Jimmy Bogard 2008-${datetime::get-year(datetime::now())}" />
+ <attribute type="AssemblyProductAttribute" value="${project::get-name()}" />
+ <attribute type="AssemblyCompanyAttribute" value="" />
+ <attribute type="AssemblyConfigurationAttribute" value="Debug" />
+ <attribute type="AssemblyInformationalVersionAttribute" value="${project.fullversion}" />
+ </attributes>
+ <references>
+ <include name="System.dll" />
+ </references>
+ </asminfo>
+ </target>
+
+ <target name="merge" depends="clean, compile, run-unit-tests">
+ <!--<msbuild project="src\ILMerge.MSBuild"/>-->
+ <mkdir dir="${build.dir}\merge" />
+ <exec program="${tools.dir}\ILMerge\ilmerge.exe"
+ commandline="/v2 /log /out:&quot;${build.dir}\merge\AutoMapper.dll&quot; /internalize:AutoMapper.exclude &quot;${build.dir}\${config}\AutoMapper\AutoMapper.dll&quot; &quot;${build.dir}\${config}\AutoMapper\LinFu.DynamicProxy.dll&quot; /keyfile:&quot;${src.dir}\AutoMapper.snk&quot;" workingdir="." />
+ </target>
+
+ <!-- Internal targets -->
+ <target name="run-unit-tests">
+ <mkdir dir="${build.dir}\results" />
+ <nunit2 failonerror="true" verbose="true">
+ <formatter type="Xml" outputdir="${build.dir}\results" usefile="true" extension=".xml"/>
+ <formatter type="Plain" />
+ <test assemblyname="${build.dir}/${config}/UnitTests/AutoMapper.UnitTests.dll"/>
+ </nunit2>
+ </target>
+
+ <target name="dist">
+
+ <mkdir dir="${dist.dir}" />
+
+ <copy todir="${build.dir}\dist-merged">
+ <fileset basedir="${build.dir}\merge">
+ <include name="**\*"/>
+ <exclude name="**\*.pdb" />
+ </fileset>
+ </copy>
+ <copy todir="${build.dir}\dist">
+ <fileset basedir="${build.dir}\${config}\AutoMapper">
+ <include name="**\*"/>
+ <exclude name="**\*.pdb" />
+ </fileset>
+ </copy>
+
+ <zip zipfile="${dist.dir}\AutoMapper.zip">
+ <fileset basedir="${build.dir}\dist">
+ <include name="**\*" />
+ </fileset>
+ </zip>
+ <zip zipfile="${dist.dir}\AutoMapper-merged.zip">
+ <fileset basedir="${build.dir}\dist-merged">
+ <include name="**\*" />
+ </fileset>
+ </zip>
+ <copy file="${build.dir}\dist-merged\AutoMapper.dll" tofile="${dist.dir}\AutoMapper.dll" />
+ </target>
+
+</project>
+
View
@@ -1,23 +1,23 @@
-using System;
-using System.Reflection;
-using System.Runtime.InteropServices;
-
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:2.0.50727.4927
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-[assembly: ComVisibleAttribute(false)]
-[assembly: AssemblyVersionAttribute("1.0.1.156")]
-[assembly: AssemblyFileVersionAttribute("1.0.1.156")]
-[assembly: AssemblyCopyrightAttribute("Copyright © Jimmy Bogard 2008-2010")]
-[assembly: AssemblyProductAttribute("AutoMapper")]
-[assembly: AssemblyCompanyAttribute("")]
-[assembly: AssemblyConfigurationAttribute("Debug")]
-[assembly: AssemblyInformationalVersionAttribute("1.0.1.156")]
-
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4200
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: ComVisibleAttribute(false)]
+[assembly: AssemblyVersionAttribute("1.0.1.999")]
+[assembly: AssemblyFileVersionAttribute("1.0.1.999")]
+[assembly: AssemblyCopyrightAttribute("Copyright © Jimmy Bogard 2008-2010")]
+[assembly: AssemblyProductAttribute("AutoMapper")]
+[assembly: AssemblyCompanyAttribute("")]
+[assembly: AssemblyConfigurationAttribute("Debug")]
+[assembly: AssemblyInformationalVersionAttribute("1.0.1.999")]
+
@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <startup>
- <supportedRuntime version="v2.0.50727"/>
- </startup>
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <startup>
+ <supportedRuntime version="v2.0.50727"/>
+ </startup>
</configuration>
Oops, something went wrong.

0 comments on commit 586651e

Please sign in to comment.