aboutsummaryrefslogtreecommitdiffstats
path: root/script/console
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-04-13 15:00:02 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-06-30 20:54:08 +0100
commit28bec8043fa33027958b0afd1b264fd25aa27d9d (patch)
tree91f0f84eac0ffdb8f6ecf2b82e48da21dca57486 /script/console
parentaf5c9769ed7f3d4217d9a5de21cf07aa977737be (diff)
Add scripts to rule them all.
Along the model of GitHub’s scripts, add generic scripts to bootstrap, update, test or run a server.
Diffstat (limited to 'script/console')
-rwxr-xr-xscript/console6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/console b/script/console
new file mode 100755
index 000000000..e92105f73
--- /dev/null
+++ b/script/console
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+set -e
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
+
+eval `"$DIR"/setenv.pl`