Skip to content

Commit

Permalink
add target 'compile'
Browse files Browse the repository at this point in the history
  • Loading branch information
bdewein committed Jun 16, 2022
1 parent a08e3e5 commit 06b140a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@
deleteonexit="false" overwrite="true"/>
</target>

<target name="compile" depends="compile-schematron-rules"
description="Compiling Schematron rules from sources">
</target>

<target name="test-only" description="Unit testing Schematron Rules wit XML-Mutate"
if="xmute.download.url.prefix">
<echo>Unit testing Schematron rules ...</echo>
Expand Down Expand Up @@ -208,10 +212,10 @@
</target>


<target name="test" depends="retrieve-xmute, compile-schematron-rules, test-only"
<target name="test" depends="retrieve-xmute, compile, test-only"
description="Unit testing Schematron Rules wit XML-Mutate"/>

<target name="dist-only" depends="compile-schematron-rules"
<target name="dist-only" depends="compile"
description="Generate the distribution">

<zip destfile="${dist.dir}/${xr-schematron.zip}" basedir="${build.dir}"
Expand Down
4 changes: 2 additions & 2 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ We recommend `Apache Ant` version 1.10.x or newer (but should work with > 1.8.x)

The main `ant` targets for developing are:

* `compile-schematron-rules`
* `compile`
* `test` (unit testing)
* and `dist` (creating the distribution artefact)

However, because of the complex dependencies, you may only expect `compile-schematron-rules` target to work without any customizations.
However, because of the complex dependencies, you may only expect `compile` target to work without any customizations.

## Distribution

Expand Down

0 comments on commit 06b140a

Please sign in to comment.