summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-04-04 15:20:14 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-04-04 15:20:14 -0400
commitd519c5607110806f03cb56e92cb71a1c1a81a4a1 (patch)
tree5ad9c835312a9b2c49aedafa4377ce7753af2d54
parent7d1df0e95eef630e428a1fee25d0f58c4d80cc47 (diff)
downloadaskbot-d519c5607110806f03cb56e92cb71a1c1a81a4a1.tar.gz
askbot-d519c5607110806f03cb56e92cb71a1c1a81a4a1.tar.bz2
askbot-d519c5607110806f03cb56e92cb71a1c1a81a4a1.zip
basic setup for the Google Closure environment
-rwxr-xr-x.gitignore1
-rw-r--r--forum/skins/common/media/js/closure/README.rst9
-rw-r--r--forum/skins/common/media/js/closure/setup-closure.sh12
3 files changed, 22 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 3e3bedb0..1d38f083 100755
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@ tmp/*
load
run
forum/skins/default/media/js/flot
+forum/skins/common/media/js/closure/google-closure
diff --git a/forum/skins/common/media/js/closure/README.rst b/forum/skins/common/media/js/closure/README.rst
new file mode 100644
index 00000000..b7423694
--- /dev/null
+++ b/forum/skins/common/media/js/closure/README.rst
@@ -0,0 +1,9 @@
+This directory contains source javascript files
+written with Google Closure library
+
+* to start developing with closure here, run (Unix shell) script
+ setup-closure.sh (if your environment does not like the script
+ please take a look what's inside and replicate it for your system)
+* please don't commit closure sources to our repo
+ i.e. add this line to .gitignore
+ forum/skins/common/media/js/closure/google-closure
diff --git a/forum/skins/common/media/js/closure/setup-closure.sh b/forum/skins/common/media/js/closure/setup-closure.sh
new file mode 100644
index 00000000..a3ebaf75
--- /dev/null
+++ b/forum/skins/common/media/js/closure/setup-closure.sh
@@ -0,0 +1,12 @@
+svn checkout http://closure-library.googlecode.com/svn/trunk/ google-closure
+mkdir google-closure/tools
+mkdir google-closure/tools/compiler
+cd google-closure/tools/compiler
+wget http://closure-compiler.googlecode.com/files/compiler-latest.zip
+unzip compiler-latest.zip
+cd ../../..
+mkdir google-closure/tools/soy
+cd google-closure/tools/soy
+wget http://closure-templates.googlecode.com/files/closure-templates-for-javascript-latest.zip
+unzip closure-templates-for-javascript-latest.zip
+cd ../../