Created
July 28, 2014 04:47
-
-
Save mwotton/9edd7c3ff2d0fba4afa9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Initial caveman.cabal generated by cabal init. For further | |
-- documentation, see http://haskell.org/cabal/users-guide/ | |
name: caveman | |
version: 0.1.0.0 | |
-- synopsis: | |
-- description: | |
license: AllRightsReserved | |
license-file: LICENSE | |
author: Mark Wotton | |
maintainer: mwotton@gmail.com | |
-- copyright: | |
category: Web | |
build-type: Simple | |
-- extra-source-files: | |
cabal-version: >=1.10 | |
library | |
ghc-options: -threaded -O2 -rtsopts -Wall -fno-warn-orphans | |
ghc-prof-options: -fprof-auto | |
exposed-modules: Net.Caveman | |
Net.Caveman.Internals | |
Net.Caveman.SQL | |
Net.Caveman.Types | |
Net.Caveman.Web | |
Net.Caveman.Concurrency | |
Net.Heartbeater | |
Net.Tribe | |
Net.Tribe.API.Types | |
Net.Tribe.Templates | |
Net.Tribe.API.JSON | |
-- other-modules: Net.Caveman.SQL | |
-- other-extensions: | |
if impl(ghcjs) | |
buildable: False | |
build-depends: | |
else | |
build-depends: base >=4.7 && <4.8 | |
, pythia | |
, containers | |
, text >= 1.1.0.1 | |
, direct-sqlite >= 2.3.14 | |
, Interpolation-maxs | |
, async | |
, split | |
, Glob | |
, aeson | |
, vector | |
-- caveman web deps | |
, direct-sqlite >= 2.3.14 | |
, text | |
, conduit | |
, conduit-extra | |
, conduit-combinators | |
, chunked-data | |
-- , scotty == 0.7.2 | |
-- , snap | |
-- , snap-server | |
-- , snap-extras | |
-- , snap-core >= 1.0.0.0 | |
, wai | |
, aeson | |
, containers | |
, async | |
, blaze-builder | |
, system-filepath | |
-- tribe deps | |
, scotty >= 0.8.1 | |
, http-types | |
, wai | |
, warp | |
, network | |
, time | |
, transformers >= 0.3 | |
, http-streams | |
, io-streams | |
, bytestring | |
, data-default | |
, text-format | |
, resourcet | |
, attoparsec | |
, directory | |
, temporary | |
-- web front end | |
-- , purescript | |
, blaze-html | |
, wai-conduit | |
, simple-form | |
, digestive-functors | |
, unordered-containers | |
-- , shakespeare | |
hs-source-dirs: src | |
default-language: Haskell2010 | |
executable tribe | |
if impl(ghcjs) | |
buildable: False | |
else | |
buildable: True | |
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-I20 -with-rtsopts=-T -Wall -fno-warn-orphans | |
ghc-prof-options: -threaded -O2 -rtsopts -with-rtsopts=-I20 -with-rtsopts=-T -Wall -fno-warn-orphans -fprof-auto | |
default-language: Haskell2010 | |
build-depends: base >=4.7 && <4.8 | |
, caveman | |
-- , text >= 1.1.0.1 | |
-- , transformers | |
-- , containers | |
-- , time | |
-- , async | |
-- , network | |
-- , wai | |
-- , aeson | |
-- , http-types | |
-- , pythia | |
-- , caveman | |
main-is: tribe.hs | |
executable caveman | |
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-I20 -with-rtsopts=-T -Wall -fno-warn-orphans | |
ghc-prof-options: -threaded -O2 -rtsopts -with-rtsopts=-I20 -with-rtsopts=-T -Wall -fno-warn-orphans -fprof-auto | |
default-language: Haskell2010 | |
if impl(ghcjs) | |
buildable: False | |
else | |
buildable: True | |
build-depends: base >=4.7 && <4.8 | |
, directory | |
, bytestring | |
, caveman | |
, safe | |
, network | |
, text | |
, ekg-statsd | |
, ekg-core | |
main-is: cli.hs | |
executable frontend | |
default-language: Haskell2010 | |
-- buildable: False | |
if impl(ghcjs) | |
buildable: True | |
build-depends: base | |
, pythia | |
, ghcjs-dom | |
, text | |
, transformers | |
else | |
buildable: False | |
main-is: frontend.hs | |
test-suite tests | |
ghc-options: -O2 -threaded -rtsopts -Wall -fno-warn-orphans | |
default-language: Haskell2010 | |
hs-source-dirs: test | |
main-is: Spec.hs | |
type: exitcode-stdio-1.0 | |
if impl(ghcjs) | |
buildable: False | |
else | |
buildable: True | |
build-depends: base | |
, hspec2 >= 0.4.0 | |
, pythia | |
, caveman | |
, Interpolation-maxs | |
, text | |
, direct-sqlite >= 2.3.14 | |
, containers | |
, async | |
, wreq | |
, transformers | |
, bytestring | |
, aeson | |
, lens | |
, QuickCheck | |
, text-format | |
, time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment