Skip to content

Commit

Permalink
Perform "future" check on its own.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Apr 12, 2011
1 parent b4ae5c2 commit c1a419a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@

<target name="test.uk.future" depends="gen.uk">
<echo>Checking against future rulesets.</echo>
<CHECK i="${xml.dir}/${uk.master.file}" s="check_future.xsl"/>
<CHECK.one i="${xml.dir}/${uk.master.file}" s="check_future.xsl"/>
</target>

<target name="gen.uk.unsigned" depends="gen.uk.master">
Expand Down Expand Up @@ -891,12 +891,21 @@
</sequential>
</macrodef>

<!--
Check a metadata document against a single ruleset file.
Parameter 'i' is the file to be checked; no assumption is made
about its location so this must contain a full path.
Parameter 's' is the primary checking stylesheet to use; assumed to be
present in the build.dir.
-->
<macrodef name="CHECK.one">
<attribute name="i"/>
<attribute name="s"/>
<sequential>
<CHECK.base i="@{i}">
<arg value="${s}"/>
<arg value="${build.dir}/@{s}"/>
</CHECK.base>
</sequential>
</macrodef>
Expand Down

0 comments on commit c1a419a

Please sign in to comment.