Skip to content

Commit

Permalink
adhoc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Moore committed Jan 15, 2009
1 parent bb246ef commit 1623fbc
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.pyc
build_tmp
75 changes: 75 additions & 0 deletions test/apidocs.sh
Original file line number Diff line number Diff line change
@@ -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 $*

30 changes: 30 additions & 0 deletions test/event.sh
Original file line number Diff line number Diff line change
@@ -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.