diff options
author | joe <joe@jerkface.net> | 2014-03-05 22:47:08 -0500 |
---|---|---|
committer | joe <joe@jerkface.net> | 2014-03-05 22:47:08 -0500 |
commit | 64fb3004d6500e8ed3826ccf818a64895f61fdfe (patch) | |
tree | 17a16b6ec07d3859028844fd4424acad166ddb0d | |
parent | ed49780cf02a64c9fed06f4ed32d276763f3202a (diff) |
added build script for testing
-rwxr-xr-x | t | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ | |||
1 | #!/bin/bash | ||
2 | args="-fwarn-unused-imports -rtsopts -DRENDERFLUSH -optP-include -optPdist/build/autogen/cabal_macros.h" | ||
3 | |||
4 | root=${0%/*} | ||
5 | cd "$root" | ||
6 | |||
7 | me=${0##*/} | ||
8 | me=${me%.*} | ||
9 | ghc \ | ||
10 | -hidir build/$me -odir build/$me \ | ||
11 | -iPresence \ | ||
12 | $args \ | ||
13 | Presence/monitortty.c \ | ||
14 | "$@" | ||