gRPC-haskell/tests/simple-server.sh
Connor Clark d66a4f98b3 Update to gRPC 0.15 (#61)
* update channel arg names, add compression level arg support, add compression level arg test

* switch to temp test demonstrating bug in grpc 0.15.0

* memset op array to 0

* switch examples back

* Switch to newer `grpc` and enable tests in `release.nix`

* Split out `simple-server` test into separate shell script

* Fix bash invocation

* Add intermediate `./default-tests.nix` build

* Add `tests.patch` to version control

* Split `python` command into separate script

* Provide `python` via `nix`
2016-08-05 09:29:20 -07:00

13 lines
310 B
Bash
Executable file

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