2017-08-09 08:59:16 +03:00
|
|
|
-- Initial level01.cabal generated by cabal init. For further
|
|
|
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
-- The name of the package.
|
|
|
|
name: level03
|
|
|
|
|
|
|
|
-- The package version. See the Haskell package versioning policy (PVP)
|
|
|
|
-- for standards guiding when and how versions should be incremented.
|
|
|
|
-- https://wiki.haskell.org/Package_versioning_policy
|
|
|
|
-- PVP summary: +-+------- breaking API changes
|
|
|
|
-- | | +----- non-breaking API additions
|
|
|
|
-- | | | +--- code changes with no API change
|
|
|
|
version: 0.1.0.0
|
|
|
|
|
|
|
|
-- A short (one-line) description of the package.
|
|
|
|
synopsis: Simplest of web apps
|
|
|
|
|
|
|
|
-- A longer description of the package.
|
|
|
|
-- description:
|
|
|
|
|
|
|
|
-- The license under which the package is released.
|
|
|
|
license: BSD3
|
|
|
|
|
|
|
|
-- The file containing the license text.
|
|
|
|
license-file: LICENSE
|
|
|
|
|
|
|
|
-- The package author(s).
|
|
|
|
author: QFPL @ Data61
|
|
|
|
|
|
|
|
-- An email address to which users can send suggestions, bug reports, and
|
|
|
|
-- patches.
|
|
|
|
maintainer: sean.chalmers@data61.csiro.au
|
|
|
|
|
|
|
|
-- A copyright notice.
|
|
|
|
-- copyright:
|
|
|
|
|
|
|
|
category: Education
|
|
|
|
|
|
|
|
build-type: Simple
|
|
|
|
|
|
|
|
-- Extra files to be distributed with the package, such as examples or a
|
|
|
|
-- README.
|
|
|
|
extra-source-files: ChangeLog.md
|
|
|
|
|
|
|
|
-- Constraint on the version of Cabal needed to build this package.
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
2017-08-11 03:55:12 +03:00
|
|
|
library
|
|
|
|
exposed-modules: FirstApp.Conf
|
|
|
|
, FirstApp.Types
|
|
|
|
, FirstApp.Main
|
|
|
|
|
2017-08-15 08:17:04 +03:00
|
|
|
ghc-options: -Wall -Werror
|
2017-08-11 03:55:12 +03:00
|
|
|
-- Other library packages from which modules are imported.
|
|
|
|
build-depends: base >=4.9 && <4.10
|
|
|
|
, wai == 3.2.*
|
|
|
|
, warp == 3.2.*
|
|
|
|
, http-types == 0.9.*
|
|
|
|
, bytestring == 0.10.*
|
|
|
|
, text == 1.2.*
|
|
|
|
, optparse-applicative == 0.13.*
|
|
|
|
, aeson == 1.*
|
|
|
|
|
|
|
|
-- Directories containing source files.
|
|
|
|
hs-source-dirs: src
|
|
|
|
|
|
|
|
-- Base language which the package is written in.
|
|
|
|
default-language: Haskell2010
|
2017-08-09 08:59:16 +03:00
|
|
|
|
|
|
|
executable level03
|
|
|
|
-- .hs or .lhs file containing the Main module.
|
|
|
|
main-is: Main.hs
|
|
|
|
|
2017-08-15 08:17:04 +03:00
|
|
|
ghc-options: -Wall -Werror
|
2017-08-09 08:59:16 +03:00
|
|
|
-- Modules included in this executable, other than Main.
|
|
|
|
-- other-modules:
|
|
|
|
|
|
|
|
-- LANGUAGE extensions used by modules in this package.
|
|
|
|
-- other-extensions:
|
|
|
|
|
|
|
|
-- Other library packages from which modules are imported.
|
|
|
|
build-depends: base >=4.9 && <4.10
|
2017-08-11 03:55:12 +03:00
|
|
|
, level03
|
2017-08-09 08:59:16 +03:00
|
|
|
|
|
|
|
-- Directories containing source files.
|
2017-08-14 09:48:34 +03:00
|
|
|
hs-source-dirs: bin
|
2017-08-09 08:59:16 +03:00
|
|
|
|
|
|
|
-- Base language which the package is written in.
|
|
|
|
default-language: Haskell2010
|
|
|
|
|