Skip to content
Permalink
Browse files
Added command-line option to skip downloading dependent libraries. Th…
…is gives greater flexibility for debugging with special libraries.
  • Loading branch information
Jim Gomes committed Sep 1, 2011
1 parent f329615 commit 384ac29a200d366180a5d32319e3fa719a696179
Showing 1 changed file with 2 additions and 2 deletions.
@@ -40,6 +40,7 @@
<property name="build.noskip" value="false" />
<property name="build.skip" value="false" />
<property name="build.skip.release" value="false" unless="${property::exists('build.skip.release')}" />
<property name="download.skip" value="false" unless="${property::exists('download.skip')}"/>
<property name="compile.skip" value="false" unless="${property::exists('compile.skip')}" />
<property name="current.build.config" value="${if(project.release.type == 'release', 'release', 'debug')}" overwrite="false" />
<property name="current.build.framework" value="${framework::get-target-framework()}" overwrite="false" />
@@ -416,7 +417,7 @@
<target name="download-vendor" depends="vendor-init, conditional-download"
description="Download the vendor artifacts from the nant repo" />

<target name="conditional-download" unless="${build.skip}"
<target name="conditional-download" unless="${build.skip or download.skip}"
description="Download the artifacts from the nant repo">
<!-- Iterate over the defined vendor filesets. -->
<foreach item="String" in="${vendor.fileset.names}" delim="," property="current.vendor">
@@ -468,7 +469,6 @@
<exec program="nunit-console" failonerror="true" workingdir="build/${current.build.framework}/${current.build.config}">
<arg value="${NUnit.Projectfile}" />
<arg value="-labels" />
<arg value="-exclude=Manual" />
<arg value="-xml=Nunit.TestOutput.xml" />
</exec>
</if>

0 comments on commit 384ac29

Please sign in to comment.