55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
cabal-version: 3.0
|
|
name: toy-datalog
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
license: BSD-2-Clause
|
|
license-file: LICENSE
|
|
author: Cale Gibbard
|
|
maintainer: cale.gibbard@obsidian.systems
|
|
category: Database
|
|
build-type: Simple
|
|
extra-doc-files: CHANGELOG.md
|
|
|
|
common common
|
|
ghc-options: -Wall
|
|
default-extensions:
|
|
ImportQualifiedPost,
|
|
OverloadedStrings,
|
|
FlexibleContexts
|
|
|
|
library
|
|
import: common
|
|
exposed-modules:
|
|
Datalog
|
|
Datalog.Parser
|
|
Datalog.Syntax
|
|
build-depends:
|
|
base,
|
|
text,
|
|
megaparsec
|
|
hs-source-dirs: src
|
|
default-language: Haskell2010
|
|
|
|
executable toy-datalog
|
|
import: common
|
|
main-is: Main.hs
|
|
build-depends:
|
|
base,
|
|
toy-datalog
|
|
hs-source-dirs: app
|
|
default-language: Haskell2010
|
|
|
|
test-suite toy-datalog-test
|
|
import: common
|
|
default-language: Haskell2010
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: Main.hs
|
|
|
|
build-depends:
|
|
base,
|
|
toy-datalog,
|
|
megaparsec,
|
|
text
|