Permalink
Browse files

Fixed <yuitest> and added <yeti>

  • Loading branch information...
1 parent 11c8956 commit 748cccea4872bfcb85d318fc295d8e03d566cffd @nzakas committed Dec 26, 2011
Showing with 21 additions and 1 deletion.
  1. +3 −0 buildr.properties
  2. +18 −0 macros/yeti.xml
  3. +0 −1 macros/yuidoc.xml
View
@@ -34,6 +34,9 @@ buildr.props2js.path = ${buildr.lib.dir}/${buildr.props2js}
buildr.rhino = js.jar
buildr.rhino.path = ${buildr.lib.dir}/${buildr.rhino}
+# Yeti
+buildr.yeti = yeti
+
# YUI Compressor
buildr.yuicompressor = yuicompressor-2.4.7.jar
buildr.yuicompressor.path = ${buildr.lib.dir}/${buildr.yuicompressor}
View
@@ -0,0 +1,18 @@
+<project name="yeti">
+
+ <!-- macro to test files -->
+ <macrodef name="yeti">
+
+
+ <attribute name="failonerror" default="true" />
+ <element name="files" implicit="true"/>
+
+ <sequential>
+ <echo>Documenting with yeti Toolkit</echo>
+ <apply executable="${buildr.yeti}" failonerror="@{failonerror}">
+ <files/>
+ <srcfile/>
+ </apply>
+ </sequential>
+ </macrodef>
+</project>
View
@@ -7,7 +7,6 @@
<attribute name="inputdir"/>
<attribute name="failonerror" default="true" />
- <element name="files" implicit="true"/>
<sequential>
<echo>Documenting with yuidoc Toolkit</echo>

0 comments on commit 748ccce

Please sign in to comment.