mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-18 00:59:42 +01:00
14 lines
310 B
Bash
14 lines
310 B
Bash
|
#!/bin/bash -eu
|
||
|
|
||
|
hsTmpDir=$1
|
||
|
|
||
|
stack ghc -- \
|
||
|
--make \
|
||
|
-threaded \
|
||
|
-odir $hsTmpDir \
|
||
|
-hidir $hsTmpDir \
|
||
|
-o $hsTmpDir/simple-server \
|
||
|
$hsTmpDir/Simple.hs \
|
||
|
tests/TestServer.hs \
|
||
|
> /dev/null
|