Skip to content
get-client-ip.cabal 1.69 KiB
Newer Older
Yuanle Song's avatar
Yuanle Song committed
name:          get-client-ip
version:       1.3.0
Yuanle Song's avatar
Yuanle Song committed
cabal-version: >= 1.8
build-type:    Simple

executable          get-client-ip
    hs-source-dirs: .
    main-is:        Main.hs
    other-modules:  Lib
                  , MainHelper
Yuanle Song's avatar
Yuanle Song committed
    ghc-options:    -Wall -threaded -O2 -rtsopts -with-rtsopts=-N
    extensions:     OverloadedStrings
                  , BangPatterns
Yuanle Song's avatar
Yuanle Song committed
    build-depends:  base   >= 4      && < 5
Yuanle Song's avatar
Yuanle Song committed
                  , scotty
Yuanle Song's avatar
Yuanle Song committed
                  , text
                  , http-types
                  , extra
                  , containers
                  , time
                  , lucid

test-suite          lib-test
    type:           exitcode-stdio-1.0
    hs-source-dirs: .
    main-is:        LibTest.hs
    other-modules:  Lib
    ghc-options:    -Wall -threaded -O2 -rtsopts -with-rtsopts=-N
    extensions:     OverloadedStrings
    build-depends:  base   >= 4      && < 5
                  , containers
                  , hspec

test-suite          main-helper-test
    type:           exitcode-stdio-1.0
    hs-source-dirs: .
    main-is:        MainHelperTest.hs
    other-modules:  Lib
                  , MainHelper
    ghc-options:    -Wall -threaded -O2 -rtsopts -with-rtsopts=-N
    extensions:     OverloadedStrings
    build-depends:  base   >= 4      && < 5
                  , text
                  , containers
                  , hspec

test-suite          lucid-demo
    type:           exitcode-stdio-1.0
    hs-source-dirs: .
    main-is:        LucidDemo.hs
    ghc-options:    -Wall -threaded -O2 -rtsopts -with-rtsopts=-N
    extensions:     OverloadedStrings
    build-depends:  base   >= 4      && < 5
                  , lucid
                  , text