gRPC-haskell/tests/simple-server.sh

14 lines
321 B
Bash
Raw Normal View History

#!/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