summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.gitignore4
-rwxr-xr-xcluster-geo/cluster-geo.exe13
-rw-r--r--cluster-geo/cluster-geo/config.js.sample (renamed from cluster-geo/config.js.sample)0
-rw-r--r--cluster-geo/cluster-geo/index.js (renamed from cluster-geo/index.js)0
-rw-r--r--cluster-geo/cluster-geo/package.json (renamed from cluster-geo/package.json)0
5 files changed, 15 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index d314b3fc..06b06b7d 100755
--- a/.gitignore
+++ b/.gitignore
@@ -52,8 +52,8 @@ Thumbs.db
node_modules
# cluster-geo stuff
-cluster-geo/config.js
-cluster-geo/cache.*
+cluster-geo/cluster-geo/config.js
+cluster-geo/cluster-geo/cache.*
# MacGap wrapper build files
/ext/mac-ui-macgap1-wrapper/src/MacGap.xcodeproj/project.xcworkspace/xcuserdata/*
diff --git a/cluster-geo/cluster-geo.exe b/cluster-geo/cluster-geo.exe
new file mode 100755
index 00000000..ae720610
--- /dev/null
+++ b/cluster-geo/cluster-geo.exe
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin
+
+cd `dirname $0`
+if [ ! -d cluster-geo -o ! -f cluster-geo/index.js ]; then
+ echo 'Cannot find ./cluster-geo containing NodeJS script files.'
+ exit 1
+fi
+
+cd cluster-geo
+
+exec node index.js
diff --git a/cluster-geo/config.js.sample b/cluster-geo/cluster-geo/config.js.sample
index ec1ebfea..ec1ebfea 100644
--- a/cluster-geo/config.js.sample
+++ b/cluster-geo/cluster-geo/config.js.sample
diff --git a/cluster-geo/index.js b/cluster-geo/cluster-geo/index.js
index 0e903ade..0e903ade 100644
--- a/cluster-geo/index.js
+++ b/cluster-geo/cluster-geo/index.js
diff --git a/cluster-geo/package.json b/cluster-geo/cluster-geo/package.json
index 1927197e..1927197e 100644
--- a/cluster-geo/package.json
+++ b/cluster-geo/cluster-geo/package.json