2 echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
3 \"http://www.w3.org/TR/html4/loose.dtd\">
6 <title>Jasmine Test Runner - Platform Core</title>
7 <link rel=\"stylesheet\" type=\"text/css\" href=\"../../../../testreporter/deploy/testreporter/resources/reporter.css\">
8 <script type=\"text/javascript\" src=\"../../../../testreporter/deploy/testreporter/reporter.js\"></script>
11 <script type=\"text/javascript\">
13 includes: [{ type: \"js\", src: \"../../../../testreporter/deploy/testreporter/jasmine.js\" }," > index.html
15 # Add ext-core include
16 sed 's/\.\.\/platform\/core/\.\./' ../../../../extjs/build/sdk.jsb3 | grep "path" | tr -d '"' | tr -d "," | tr -d "}" > dump.tmp
20 print " { type: \"js\", src: \"" path "\" },";
21 if (path == "../../src/class/Loader.js") {
22 print " { type: \"js\", src: \"resources/BlockLoader.js\" },";
28 find ../../src/env -name *.js | awk '{print " { type: \"js\", src: \"" $0 "\" },";}' >> index.html
30 echo " { type: \"js\", src: \"resources/EventUtils.js\" }," >> index.html
33 find spec -name "*.js" > dump.tmp
34 lastRec=`awk 'END{print NR}' dump.tmp`
35 awk -v aLastRec="$lastRec" '{
37 print " { type: \"js\", src: \"" $0 "\" }]";
39 print " { type: \"js\", src: \"" $0 "\" },";
42 }' dump.tmp >> index.html
49 </html>" >> index.html