86 lines
2.6 KiB
Plaintext
86 lines
2.6 KiB
Plaintext
cabal-version: 2.4
|
|
-- Initial package description 'buuka.cabal' generated by 'cabal init'.
|
|
-- For further documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
name: buuka
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
-- bug-reports:
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
author: Mats Rauhala
|
|
maintainer: mats.rauhala@iki.fi
|
|
-- copyright:
|
|
category: Web
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
common common-stanza
|
|
build-depends: base ^>=4.13.0.0
|
|
default-extensions: OverloadedStrings
|
|
, ScopedTypeVariables
|
|
, DerivingVia
|
|
, DeriveAnyClass
|
|
, GeneralizedNewtypeDeriving
|
|
, DeriveFunctor
|
|
, DeriveTraversable
|
|
, DeriveFoldable
|
|
, StandaloneDeriving
|
|
, DerivingStrategies
|
|
, DeriveGeneric
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -threaded
|
|
|
|
library
|
|
import: common-stanza
|
|
exposed-modules: MyLib
|
|
, Database.Migrations
|
|
, Control.Monad.Buuka
|
|
, Operations.Insert
|
|
, Operations.List
|
|
, Operations.Format
|
|
, Operations
|
|
, Data.Environment
|
|
, Data.Buuka
|
|
-- other-modules:
|
|
build-depends: aeson
|
|
, yaml
|
|
, mtl
|
|
, transformers
|
|
, unliftio
|
|
, containers
|
|
, exceptions
|
|
, bytestring
|
|
, filepath
|
|
, vector
|
|
, hashids
|
|
, text
|
|
, lens
|
|
, hashable
|
|
hs-source-dirs: src
|
|
|
|
executable buuka
|
|
import: common-stanza
|
|
main-is: Main.hs
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends: buuka
|
|
, optparse-applicative
|
|
, unliftio
|
|
hs-source-dirs: app
|
|
|
|
test-suite buuka-test
|
|
import: common-stanza
|
|
other-modules: Test.Database.Migrations
|
|
Test.Data.Buuka
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: MyLibTest.hs
|
|
build-depends: buuka
|
|
, hedgehog
|
|
, hedgehog-corpus
|
|
, tasty-hedgehog
|
|
, tasty
|
|
, text
|
|
, aeson
|