summaryrefslogtreecommitdiffstats
path: root/query/jquery
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-04 19:57:25 +0200
committertv <tv@xso>2011-09-04 19:57:25 +0200
commite57db14fcac3aa7e13072278cf62abe44d226400 (patch)
tree8a0ff09c8dadaf21ed2ea1f9025f58f37c8f924b /query/jquery
parent89d86c1b9fa69cb6479997981f6302202aca830d (diff)
//query/jquery: initial commit
Previously this was (and still is) embedded in various //util/bin/*
Diffstat (limited to 'query/jquery')
-rwxr-xr-xquery/jquery/index19
1 files changed, 19 insertions, 0 deletions
diff --git a/query/jquery/index b/query/jquery/index
new file mode 100755
index 00000000..3c49dac9
--- /dev/null
+++ b/query/jquery/index
@@ -0,0 +1,19 @@
+#! /bin/sh
+set -euf
+
+# cd //
+cd $(dirname $(readlink -f $0))/../..
+
+for x in \
+ github/tmpvar \
+ github/mikeal \
+ github/NV \
+ github/tautologistics \
+; do
+ export NODE_PATH="$(readlink -f submodules/$x)${NODE_PATH+:$NODE_PATH}"
+done
+
+# ensure query is ready
+#git submodule update --init
+
+exec node submodules/github/visionmedia/query "$@"