gRPC-haskell/tests/simple-server.sh

13 lines
321 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
hsTmpDir=$1
ghc \
--make \
-threaded \
-odir $hsTmpDir \
-hidir $hsTmpDir \
-o $hsTmpDir/simple-server \
$hsTmpDir/Simple.hs \
tests/TestServer.hs \
> /dev/null