summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-03-05 22:47:08 -0500
committerjoe <joe@jerkface.net>2014-03-05 22:47:08 -0500
commit64fb3004d6500e8ed3826ccf818a64895f61fdfe (patch)
tree17a16b6ec07d3859028844fd4424acad166ddb0d
parented49780cf02a64c9fed06f4ed32d276763f3202a (diff)
added build script for testing
-rwxr-xr-xt14
1 files changed, 14 insertions, 0 deletions
diff --git a/t b/t
new file mode 100755
index 00000000..6b7abba5
--- /dev/null
+++ b/t
@@ -0,0 +1,14 @@
1#!/bin/bash
2args="-fwarn-unused-imports -rtsopts -DRENDERFLUSH -optP-include -optPdist/build/autogen/cabal_macros.h"
3
4root=${0%/*}
5cd "$root"
6
7me=${0##*/}
8me=${me%.*}
9ghc \
10 -hidir build/$me -odir build/$me \
11 -iPresence \
12 $args \
13 Presence/monitortty.c \
14 "$@"