perga/perga.cabal
2024-11-17 18:33:14 -08:00

81 lines
2.2 KiB
Text

cabal-version: 3.0
name: perga
-- 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:
-- A longer description of the package.
-- description:
license: GPL-3.0-or-later
license-file: LICENSE
author: William Ball
maintainer: williampi103@gmail.com
category: Math
build-type: Simple
extra-doc-files: CHANGELOG.md
, README.md
common warnings
ghc-options: -Wall
library perga-lib
import: warnings
exposed-modules: Check
Parser
Expr
Eval
Errors
hs-source-dirs: lib
build-depends: base ^>=4.19.1.0
, megaparsec
, text
, parser-combinators
, mtl
, containers
default-language: Haskell2010
default-extensions: OverloadedStrings
, GADTs
executable perga
import: warnings
main-is: Main.hs
other-modules: Repl
build-depends: base ^>=4.19.1.0
, perga-lib
, text
, containers
, haskeline
, directory
, filepath
, mtl
hs-source-dirs: app
default-language: Haskell2010
default-extensions: OverloadedStrings
, GADTs
test-suite tests
import: warnings
type: exitcode-stdio-1.0
main-is: Tests.hs
other-modules: ExprTests
, CheckTests
build-depends: base ^>=4.19.1.0
, HUnit
, text
, containers
, perga-lib
hs-source-dirs: tests
default-language: Haskell2010
default-extensions: OverloadedStrings
, GADTs