mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-26 21:19:43 +01:00
13 lines
321 B
Bash
Executable file
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
|