Cheking in nant script for clearing DLR Dlls before build
[TFS Changeset #76223]
This commit is contained in:
@@ -26,11 +26,29 @@
|
||||
|
||||
|
||||
<target name="build" depends="init">
|
||||
<!-- set everything to writable-->
|
||||
<attrib normal="true" readonly="false">
|
||||
<fileset basedir="${root.dir}">
|
||||
<include name="**/*" />
|
||||
</fileset>
|
||||
</attrib>
|
||||
|
||||
<!-- Remove those damn DLR dlls that might be left behind by careless devs...-->
|
||||
<!-- They will get added again after build is completed, no worries no dependencies during build-->
|
||||
<delete>
|
||||
<fileset>
|
||||
<include name="${root.dir}/bin/IronPython.dll" />
|
||||
<include name="${root.dir}/bin/IronPython.Modules.dll" />
|
||||
<include name="${root.dir}/bin/IronRuby.dll" />
|
||||
<include name="${root.dir}/bin/IronRuby.Libraries.dll" />
|
||||
<include name="${root.dir}/bin/IronRuby.Libraries.Yaml.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.Dynamic.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.ScriptinG.Core.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.Scripting.Debugging.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.Scripting.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.Scripting.ExtensionAttribute.dll" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<exec program="${win.dir}\microsoft.net\framework\v4.0.30319\msbuild.exe">
|
||||
<arg value="${root.dir}\umbraco.sln" />
|
||||
|
||||
@@ -41,13 +41,31 @@
|
||||
|
||||
<!-- Build source -->
|
||||
<target name="build" depends="init">
|
||||
|
||||
<!-- set everything to writable-->
|
||||
<attrib normal="true" readonly="false">
|
||||
<fileset basedir="${root.dir}">
|
||||
<include name="**/*" />
|
||||
</fileset>
|
||||
</attrib>
|
||||
|
||||
|
||||
<!-- Remove those damn DLR dlls that might be left behind by careless devs...-->
|
||||
<!-- They will get added again after build is completed, no worries no dependencies during build-->
|
||||
<delete>
|
||||
<fileset>
|
||||
<include name="${root.dir}/bin/IronPython.dll" />
|
||||
<include name="${root.dir}/bin/IronPython.Modules.dll" />
|
||||
<include name="${root.dir}/bin/IronRuby.dll" />
|
||||
<include name="${root.dir}/bin/IronRuby.Libraries.dll" />
|
||||
<include name="${root.dir}/bin/IronRuby.Libraries.Yaml.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.Dynamic.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.ScriptinG.Core.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.Scripting.Debugging.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.Scripting.dll" />
|
||||
<include name="${root.dir}/bin/Microsoft.Scripting.ExtensionAttribute.dll" />
|
||||
</fileset>
|
||||
</delete>
|
||||
|
||||
<exec program="${win.dir}\microsoft.net\framework\v4.0.30319\msbuild.exe">
|
||||
<arg value="${root.dir}\umbraco.sln" />
|
||||
<arg value="/v:n" />
|
||||
|
||||
@@ -2,6 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F0242771-6DE6-4E03-BD3A-7B79BA79105B}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
aspnet35.build = aspnet35.build
|
||||
build.xml = build.xml
|
||||
default.build = default.build
|
||||
INDIGO64.testrunconfig = INDIGO64.testrunconfig
|
||||
|
||||
Reference in New Issue
Block a user