mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-12-28 04:39:45 +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
|