1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
#
# Creates an index for all SWF Test files, for easy checking in a web browser, or elsewhere
# TODO: a combo SWF loader would be good so they could be checked in the debug player...
out=swftestleft.html
echo "<html><head><title>dis-Emi-A HaXe API SWF Tests</title></head><body>" > $out
ttests=`ls ./app-tutorial/*.swf`
atests=`find . -name "*Test*.swf"`
# assume first letter capital is a test
apps=`find . -name "[A-Z]*.swf"`
all=`echo $ttests $atests $apps | sort | uniq`
for test in $all; do
echo "<a href='$test' target='testframe'>`basename $test`</a>" >> $out
done
echo "</body>" >> $out
|