~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to nunit.build

  • Committer: charliepoole
  • Date: 2008-05-05 22:17:22 UTC
  • Revision ID: vcs-imports@canonical.com-20080505221722-7bdjujqed8pk6al3
Add back RowTestExtension as a separately compiled assembly, bundled
with NUnit, and modify build script to handle addins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
  <!-- Our standard package for general distribution -->
83
83
  <property name="standard.package.config" value="net-1.1+net-2.0" />
84
84
 
 
85
  <!-- Options for runing the NUnit tests -->
85
86
  <property name="nunit.options" value=""/>
86
87
 
87
88
  <!-- Additional internal properties are set in the include file -->
189
190
 
190
191
  </target>
191
192
 
192
 
  <target name="build-framework" depends="make-build-dir">
193
 
 
194
 
    <echo message="*"/>
195
 
    <echo message="* Building ${runtime.config} framework files"/>
196
 
    <echo message="*"/>
197
 
 
198
 
    <nant target="build">
199
 
      <buildfiles refid="framework.buildfiles"/>
 
193
  <target name="build-addins" depends="build">
 
194
 
 
195
    <nant buildfile="${project.addins.dir}/RowTest/RowTestExtension.build"
 
196
      target="${build.config} ${runtime.config} bundled-install">
 
197
 
 
198
      <properties>
 
199
        <property name="nunit.version" value="${package.version}"/>
 
200
        <property name="nunit.dir" value="${current.build.dir}"/>
 
201
        <property name="nunit.bin.dir" value="${current.build.dir}" readonly="true"/>
 
202
      </properties>
 
203
 
200
204
    </nant>
 
205
 
201
206
  </target>
202
207
 
203
208
  <target name="rebuild-all" depends="clean-all,build-all"
566
571
        <include name="tests.wxs" />
567
572
        <include name="samples.wxs" />
568
573
        <include name="pnunit.wxs" />
 
574
        <include name="addins.wxs" />
569
575
        <include name="NUnit.wxs" />
570
576
      </sources>
571
577
    </candle>
581
587
        <include name="${work.dir}/samples.wixobj" />
582
588
        <include name="${work.dir}/tests.wixobj" />
583
589
        <include name="${work.dir}/pnunit.wixobj" />
 
590
        <include name="${work.dir}/addins.wixobj" />
584
591
        <include name="${wix.dir}/wixui.wixlib" />
585
592
      </sources>
586
593
    </light>
717
724
          todir="${package.working.dir}" />
718
725
    <copy file="NUnitFitTests.html"
719
726
          todir="${package.bin.dir}" />
720
 
    <copy file="${project.src.dir}/NUnitExtensions/docs/RowTest/License.txt" 
 
727
    <copy file="${project.addins.dir}/RowTest/License.txt" 
721
728
          tofile="${package.working.dir}/rowtest-license.txt" />
722
729
 
723
730
  </target>
726
733
<!-- ***           Copy a set of binaries for a package            *** -->
727
734
<!-- ***************************************************************** -->
728
735
 
729
 
  <target name="copy-bins" depends="build">
 
736
  <target name="copy-bins" depends="build,build-addins">
730
737
 
731
738
    <mkdir dir="${package.bin.dir}"/>
732
739
 
735
742
        <include name="*"/>
736
743
        <include name="tests/*"/>
737
744
        <include name="lib/*"/>
 
745
        <include name="addins/*"/>
738
746
        <include name="${runtime.config}/*"/>
739
747
        <exclude name="*.wixobj"/>
740
748
        <exclude name="nunit-server.*"/>