From 950eea3ba04e94cf3d5797f9b5d32b2621c89b55 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 13 Feb 2024 02:07:20 +0100 Subject: refactor library --- astore.cabal | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 astore.cabal (limited to 'astore.cabal') diff --git a/astore.cabal b/astore.cabal new file mode 100644 index 0000000..fa9b4ea --- /dev/null +++ b/astore.cabal @@ -0,0 +1,64 @@ +cabal-version: 3.4 +name: astore +version: 0.1.0.0 +license: Apache-2.0 +license-file: LICENSE +maintainer: aforemny@posteo.de +author: Alexander Foremny +build-type: Simple +extra-doc-files: CHANGELOG.md + +library + exposed-modules: + Store + + hs-source-dirs: src + other-modules: Store.Debug + Store.Exception + Store.Query + Store.Query.Field + Store.Query.Parser + Store.Query.Printer + Store.Query.Record + Store.Query.Type + Store.Store + default-language: GHC2021 + default-extensions: + AllowAmbiguousTypes BlockArguments GeneralizedNewtypeDeriving + OverloadedRecordDot OverloadedStrings ViewPatterns + + ghc-options: + -Wall -fno-warn-incomplete-patterns -fno-warn-name-shadowing + + build-depends: + aeson, + base, + bytestring, + containers, + directory, + exceptions, + filepath, + gitlib, + gitlib-libgit2, + megaparsec, + mtl, + parser-combinators, + tagged, + text, + unliftio, + unliftio-core, + unordered-containers, + utf8-string, + vector + +executable astore + main-is: Main.hs + hs-source-dirs: app + default-language: GHC2021 + default-extensions: OverloadedStrings + build-depends: + aeson, + astore, + base, + bytestring, + directory -- cgit v1.2.3