Skip to content

Commit 8bfb99d

Browse files
committed
Fix example example programs
* Remove one redundant one. * Build simple-proxy.
1 parent 073b992 commit 8bfb99d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

example/debug-proxy.hs

Lines changed: 0 additions & 9 deletions
This file was deleted.

example/simple-proxy.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import Network.HTTP.Proxy
2+
import Network.HTTP.Proxy (runProxy)
33

44
-- The simplest possible HTTP/HTTPS proxy.
55
main :: IO ()

http-proxy.cabal

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,12 @@ test-suite test-io
145145
, wai-conduit
146146
, warp
147147
, warp-tls
148+
149+
executable simple-proxy
150+
default-language: Haskell2010
151+
ghc-options: -Wall -fwarn-tabs -threaded -rtsopts "-with-rtsopts=-H1m -K1m"
152+
hs-source-dirs: example
153+
main-is: simple-proxy.hs
154+
155+
build-depends: base
156+
, http-proxy

0 commit comments

Comments
 (0)