We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c39d6f commit 204ad20Copy full SHA for 204ad20
run.sh
@@ -0,0 +1,13 @@
1
+#!/usr/bin/env bash
2
+
3
+# Simple script to build and start the proxy. The printed args show how to use
4
+# it for testing a cross-compiler on the same machine.
5
6
+set -e
7
8
+GHC="${GHC:-ghc}"
9
+port=5005
10
11
+cabal build -w "$GHC" exe:iserv-proxy
12
+echo ghc-args: -fexternal-interpreter -pgmi=$(cabal list-bin -w "$GHC" exe:iserv-proxy) -opti=127.0.0.1 -opti=$port
13
+cabal run -w "$GHC" iserv-proxy-interpreter $port .
0 commit comments