Skip to content

Instantly share code, notes, and snippets.

@stedi67
Created August 21, 2019 07:53
Show Gist options
  • Save stedi67/75c2ab7111598e9f3024ba602323c3db to your computer and use it in GitHub Desktop.
Save stedi67/75c2ab7111598e9f3024ba602323c3db to your computer and use it in GitHub Desktop.
name: e-commerce
version: 0.1.0.0
homepage: https://xxx
license: BSD3
license-file: LICENSE
author: Stephan Diehl
maintainer: stephan.diehl@gmx.net
copyright: Stephan Diehl
category: Web
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
synopsis: a simple e-commerce application
description: a simple e-commerce application
library
hs-source-dirs: src
exposed-modules: Ecom
, Ecom.Catalog
, Ecom.Common
, Ecom.Country
, Ecom.Order
, Ecom.Price
, Ecom.Product
, Ecom.Tax.Lookup
, Ecom.Tax.Address
, Web.Api
, Web.CsvReader
, Web.Service
build-depends: aeson
, base >= 4.7 && < 5
, bytestring
, cassava
, containers
, deepseq
, servant-server
, scientific
, text
, vector
, wai
, warp
default-language: Haskell2010
executable e-commerce-exe
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, e-commerce
default-language: Haskell2010
test-suite e-commerce-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: Ecom.Tax.LookupSpec
, Ecom.CatalogSpec
, Web.CsvReaderSpec
build-depends:
base >= 4.7 && < 5,
containers,
hspec,
e-commerce,
scientific
ghc-options: -Wall
default-language: Haskell2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment