From cff17096640b7639886d261fa9f4bb83b1e5f5cb Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Tue, 8 Sep 2009 07:50:23 +0000 Subject: [PATCH] --- Makefile | 51 +- examples/new.html | 15 +- src/util.js | 2 +- test/firebug-lite/ChangeLog | 115 + test/firebug-lite/errorIcon.png | Bin 0 -> 457 bytes test/firebug-lite/firebug-lite-compressed.js | 124 + test/firebug-lite/firebug-lite.css | 218 ++ test/firebug-lite/firebug-lite.js | 2572 +++++++++++++++++ test/firebug-lite/firebug.gif | Bin 0 -> 1043 bytes test/firebug-lite/firebug_logo.png | Bin 0 -> 499 bytes test/firebug-lite/infoIcon.png | Bin 0 -> 524 bytes test/firebug-lite/progress.gif | Bin 0 -> 5203 bytes test/firebug-lite/spacer.gif | Bin 0 -> 64 bytes test/firebug-lite/tree_close.gif | Bin 0 -> 300 bytes test/firebug-lite/tree_open.gif | Bin 0 -> 202 bytes test/firebug-lite/warningIcon.png | Bin 0 -> 516 bytes test/jgrowl/jgrowl.css | 119 - test/jgrowl/jgrowl.js | 241 -- .../jquery.js | 0 .../ui.core.js | 0 .../ui.draggable.js | 0 test/loader.js | 107 + test/new.html | 21 +- 23 files changed, 3196 insertions(+), 389 deletions(-) create mode 100755 test/firebug-lite/ChangeLog create mode 100755 test/firebug-lite/errorIcon.png create mode 100755 test/firebug-lite/firebug-lite-compressed.js create mode 100755 test/firebug-lite/firebug-lite.css create mode 100755 test/firebug-lite/firebug-lite.js create mode 100755 test/firebug-lite/firebug.gif create mode 100755 test/firebug-lite/firebug_logo.png create mode 100755 test/firebug-lite/infoIcon.png create mode 100755 test/firebug-lite/progress.gif create mode 100755 test/firebug-lite/spacer.gif create mode 100755 test/firebug-lite/tree_close.gif create mode 100755 test/firebug-lite/tree_open.gif create mode 100755 test/firebug-lite/warningIcon.png delete mode 100755 test/jgrowl/jgrowl.css delete mode 100755 test/jgrowl/jgrowl.js rename test/{legacy_jquery => legacy-jquery}/jquery.js (100%) rename test/{legacy_jquery => legacy-jquery}/ui.core.js (100%) rename test/{legacy_jquery => legacy-jquery}/ui.draggable.js (100%) create mode 100755 test/loader.js diff --git a/Makefile b/Makefile index cf22a5f..6928907 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ VER = `cat version.txt` +VVER = `cat ../version.txt` DATE = `svn info | grep Date: | sed 's/.*: //g'` REV = `svn info | grep Rev: | sed 's/.*: //g'` @@ -20,12 +21,44 @@ OTHER_FILES =\ changelog.txt zip: - mkdir -p build/fullcalendar-${VER}/uncompressed - cd src; cat misc/head.txt ${JS_SRC_FILES} misc/foot.txt >\ - ../build/fullcalendar-`cat ../version.txt`/uncompressed/fullcalendar.js - cd src/css; cat ${CSS_SRC_FILES} >\ - ../../build/fullcalendar-`cat ../../version.txt`/fullcalendar.css - java -jar build/yuicompressor-2.4.2.jar\ - -o build/fullcalendar-${VER}/fullcalendar.js\ - build/fullcalendar-${VER}/uncompressed/fullcalendar.js - cp -rt build/fullcalendar-${VER} ${OTHER_FILES} \ No newline at end of file + @rm -rf build/fullcalendar + @rm -rf build/fullcalendar-* + @mkdir -p build/fullcalendar/uncompressed + + @echo "building js & css..." + @cd src; cat misc/head.txt ${JS_SRC_FILES} misc/foot.txt > ../build/fullcalendar/uncompressed/fullcalendar.js + @cd src/css; cat ${CSS_SRC_FILES} > ../../build/fullcalendar/fullcalendar.css + @cp -rt build/fullcalendar ${OTHER_FILES} + @rm -rf `find build/fullcalendar -type d -name .svn` + + #@for f in build/fullcalendar/*.js; do\ + # sed -i "s/* FullCalendar/& v${VER}/" $$f;\ + # sed -i "s/* Date:/& ${DATE}/" $$f;\ + # sed -i "s/* Revision:/& ${REV}/" $$f;\ + # done + + @echo "building examples..." + @cd build/fullcalendar/examples;\ + for f in *.html; do\ + sed -i -n '1h;1!H;$${;g;s/\s*//g;p;}' $$f;\ + sed -i -n '1h;1!H;$${;g;s///g;p;}' $$f;\ + done + + @echo "compressing..." + @java -jar build/yuicompressor-2.4.2.jar -o build/fullcalendar/fullcalendar.js build/fullcalendar/uncompressed/fullcalendar.js + + @echo "zipping..." + @mv build/fullcalendar build/fullcalendar-${VER} + @cd build; zip -q -r fullcalendar-${VVER}.zip fullcalendar-${VVER} + @mv build/fullcalendar-${VER} build/fullcalendar + + @mkdir -p dist + @mv build/fullcalendar-${VER}.zip dist + @echo "done." + +clean: + @rm -rf build/fullcalendar + @rm -rf build/fullcalendar-* + @rm -rf dist/* + \ No newline at end of file diff --git a/examples/new.html b/examples/new.html index f9f229f..ec6d44d 100755 --- a/examples/new.html +++ b/examples/new.html @@ -1,20 +1,31 @@ + + - - + + - - - - - - - - - +