-
-
Save naoto-ogawa/50326cf224657cdc45587646554febc2 to your computer and use it in GitHub Desktop.
A cabal file of servant example.
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
-- | |
-- | |
-- https://github.com/haskell-servant/servant/blob/master/servant-server/example/greet.hs | |
-- | |
-- | |
-- Initial greet.cabal generated by cabal init. For further documentation, | |
-- see http://haskell.org/cabal/users-guide/ | |
-- The name of the package. | |
name: greet | |
-- 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: greet | |
-- A longer description of the package. | |
-- description: | |
-- The license under which the package is released. | |
license: MIT | |
-- The file containing the license text. | |
license-file: LICENSE | |
-- The package author(s). | |
author: foo | |
-- An email address to which users can send suggestions, bug reports, and | |
-- patches. | |
maintainer: foo@gmail.com | |
-- A copyright notice. | |
-- copyright: | |
category: Web | |
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 | |
executable greet | |
-- .hs or .lhs file containing the Main module. | |
main-is: greet.hs | |
-- 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, | |
aeson, | |
text, | |
wai, | |
warp, | |
servant-server | |
-- Directories containing source files. | |
-- hs-source-dirs: | |
-- Base language which the package is written in. | |
default-language: Haskell2010 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment