Skip to content

Commit

Permalink
Tweaks to the build script to work around bugs in nant 0.92
Browse files Browse the repository at this point in the history
  • Loading branch information
mwerle committed Dec 3, 2017
1 parent 9ce6362 commit 81a4d6c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions OrbitalScience.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

<!-- Build directories -->
<property name="build.dir" value="build" />
<property name="NEOS.dir" value="${build.dir}/NEOS/" />
<property name="OSS.dir" value="${build.dir}/OSS/" />
<property name="KRP.dir" value="${build.dir}/KRP/" />
<property name="KEES.dir" value="${build.dir}/KEES/" />
<property name="NEOS.dir" value="${build.dir}/NEOS" />
<property name="OSS.dir" value="${build.dir}/OSS" />
<property name="KRP.dir" value="${build.dir}/KRP" />
<property name="KEES.dir" value="${build.dir}/KEES" />
<property name="GameData.dir" value="GameData/NehemiahInc" />

<!--
Expand All @@ -35,6 +35,8 @@

<target name="clean" description="remove all generated files">
<delete dir="${CurrMod.dir}" />
<!-- work around bug in nant 0.92 which doesn't perform a proper fileset copy if the directory doesn't exist. -->
<mkdir dir="${CurrMod.dir}" />
</target>

<target name="all" description="pack the diferent mods">
Expand Down Expand Up @@ -115,7 +117,7 @@
<include name="KerbalLifeScience/**" />
<include name="MultiPurposeParts/**" />
<include name="OMS/**" />
<include name="OSS.version" />
<include name="NE-OSS.version" />
</fileset>
</copy>
</target>
Expand All @@ -128,7 +130,7 @@
<copy todir="${CurrMod.dir}/NehemiahInc">
<fileset basedir="GameData/NehemiahInc" >
<include name="Kemini/**" />
<include name="KRP.version" />
<include name="NE-KRP.version" />
</fileset>
</copy>
</target>
Expand All @@ -140,7 +142,7 @@
<copy todir="${CurrMod.dir}/NehemiahInc">
<fileset basedir="GameData/NehemiahInc" >
<include name="KEES/**" />
<include name="KEES.version" />
<include name="NE-KEES.version" />
</fileset>
</copy>
</target>
Expand Down

0 comments on commit 81a4d6c

Please sign in to comment.