Skip to content

Commit

Permalink
Build: Add a target to copy dist files when xsldoc project to commoni…
Browse files Browse the repository at this point in the history
…ze build files
  • Loading branch information
sttk committed Feb 26, 2022
1 parent e25c749 commit 4eb1603
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions res/ant/build.targets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,20 @@
<copy todir="${dir.docs.test}/unit">
<fileset dir="${dir.res.doc}"/>
</copy>
<antcall target="deploy:xsldoc"/>
<antcall target="deploy:xsldoc:built"/>
<antcall target="deploy:xsldoc:dep"/>
<copy todir="${dir.deploy}">
<fileset dir="${dir.docs}"/>
</copy>
</target>

<target name="deploy:xsldoc" unless="is_xsldoc">
<target name="deploy:xsldoc:built" if="is_xsldoc">
<copy todir="${dir.docs.api}/xsldoc">
<fileset dir="${dir.dist}"/>
</copy>
</target>

<target name="deploy:xsldoc:dep" unless="is_xsldoc">
<copy todir="${dir.docs.api}/xsldoc">
<fileset dir="${dir.xsldoc}/dist"/>
</copy>
Expand Down

0 comments on commit 4eb1603

Please sign in to comment.