mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-27 05:29:43 +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
|