Skip to content
Browse files

adhoc tests

  • Loading branch information...
1 parent bb246ef commit 1623fbc569aa4956269410cf8e64c62a0a52a8d6 Adam Moore committed
Showing with 106 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +75 −0 test/apidocs.sh
  3. +30 −0 test/event.sh
View
1 .gitignore
@@ -1 +1,2 @@
*.pyc
+build_tmp
View
75 test/apidocs.sh
@@ -0,0 +1,75 @@
+#!/bin/sh
+
+##############################################################################
+
+# The location of your yuidoc install
+# yuidoc_home=yahoo/presentation/tools/yuidoc
+# yuidoc_home=~/www/yuidoc/yuidoc
+yuidoc_home=..
+
+src=~/src/yui3/src
+
+# The location of the files to parse. Parses subdirectories, but will fail if
+# there are duplicate file names in these directories.
+# parser_in="$src/animation \
+# $src/attribute \
+# $src/base \
+# $src/dd \
+# $src/dom \
+# $src/json \
+# $src/json-parse \
+# $src/json-stringify \
+# $src/node \
+# $src/queue \
+# $src/yui"
+#parser_in="$src"
+parser_in="$src/yui \
+ $src/anim \
+ $src/attribute \
+ $src/base \
+ $src/classnamemanager \
+ $src/console \
+ $src/cookie \
+ $src/dd \
+ $src/dd-plugin \
+ $src/dom \
+ $src/dump \
+ $src/event \
+ $src/get \
+ $src/io \
+ $src/json \
+ $src/loader \
+ $src/node \
+ $src/node-menunav \
+ $src/oop \
+ $src/overlay \
+ $src/profiler \
+ $src/plugin \
+ $src/queue \
+ $src/slider \
+ $src/stylesheet \
+ $src/substitute \
+ $src/widget \
+ $src/widget-position \
+ $src/widget-position-ext \
+ $src/widget-stdmod \
+ $src/widget-stack \
+ $src/yuitest"
+
+# The location to output the parser data. This output is a file containing a
+# json string, and copies of the parsed files.
+parser_out=build_tmp/yuidoc_tmp
+
+# The directory to put the html file outputted by the generator
+generator_out=build_tmp/api
+
+# The location of the template files. Any subdirectories here will be copied
+# verbatim to the destination directory.
+template=$yuidoc_home/template
+
+version=`cat version.txt`
+
+##############################################################################
+
+$yuidoc_home/bin/yuidoc.py $parser_in -p $parser_out -o $generator_out -t $template -v $version -s $*
+
View
30 test/event.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+##############################################################################
+
+# The location of your yuidoc install
+# yuidoc_home=yahoo/presentation/tools/yuidoc
+# yuidoc_home=~/www/yuidoc/yuidoc
+yuidoc_home=..
+
+src=~/src/yui3/src
+
+parser_in="$src/event"
+
+# The location to output the parser data. This output is a file containing a
+# json string, and copies of the parsed files.
+parser_out=build_tmp/yuidoc_tmp
+
+# The directory to put the html file outputted by the generator
+generator_out=build_tmp/api
+
+# The location of the template files. Any subdirectories here will be copied
+# verbatim to the destination directory.
+template=$yuidoc_home/template
+
+version=`cat version.txt`
+
+##############################################################################
+
+$yuidoc_home/bin/yuidoc.py $parser_in -p $parser_out -o $generator_out -t $template -v $version -s $*
+

0 comments on commit 1623fbc

Please sign in to comment.
Something went wrong with that request. Please try again.