Skip to content

Commit

Permalink
Fix example example programs
Browse files Browse the repository at this point in the history
* Remove one redundant one.
* Build simple-proxy.
  • Loading branch information
erikd committed Apr 7, 2019
1 parent 073b992 commit 8bfb99d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
9 changes: 0 additions & 9 deletions example/debug-proxy.hs

This file was deleted.

2 changes: 1 addition & 1 deletion example/simple-proxy.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import Network.HTTP.Proxy
import Network.HTTP.Proxy (runProxy)

-- The simplest possible HTTP/HTTPS proxy.
main :: IO ()
Expand Down
9 changes: 9 additions & 0 deletions http-proxy.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,12 @@ test-suite test-io
, wai-conduit
, warp
, warp-tls

executable simple-proxy
default-language: Haskell2010
ghc-options: -Wall -fwarn-tabs -threaded -rtsopts "-with-rtsopts=-H1m -K1m"
hs-source-dirs: example
main-is: simple-proxy.hs

build-depends: base
, http-proxy

0 comments on commit 8bfb99d

Please sign in to comment.