76 lines
1.7 KiB
Plaintext
76 lines
1.7 KiB
Plaintext
cabal-version: 3.0
|
|
name: 4r
|
|
version: 0.1.0
|
|
author: staticvoid@mail.i2p
|
|
license: GPL-3.0-or-later
|
|
|
|
common c
|
|
default-language: GHC2021
|
|
default-extensions:
|
|
NoImplicitPrelude
|
|
NoFieldSelectors
|
|
OverloadedRecordDot
|
|
DuplicateRecordFields
|
|
BangPatterns
|
|
BinaryLiterals
|
|
BlockArguments
|
|
ConstraintKinds
|
|
DataKinds
|
|
DeriveFunctor
|
|
DeriveGeneric
|
|
DerivingStrategies
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GADTs
|
|
GeneralizedNewtypeDeriving
|
|
HexFloatLiterals
|
|
ImportQualifiedPost
|
|
InstanceSigs
|
|
KindSignatures
|
|
LambdaCase
|
|
MultiParamTypeClasses
|
|
NumericUnderscores
|
|
OverloadedStrings
|
|
ScopedTypeVariables
|
|
StandaloneDeriving
|
|
TupleSections
|
|
TypeApplications
|
|
TypeOperators
|
|
TypeSynonymInstances
|
|
UndecidableInstances
|
|
ghc-options:
|
|
-Wall -Wcompat -Wincomplete-uni-patterns -Wredundant-constraints
|
|
-Wmissing-export-lists -Wincomplete-record-updates
|
|
-Wmissing-deriving-strategies
|
|
|
|
executable 4r
|
|
import: c
|
|
main-is: Main.hs
|
|
other-modules: Api
|
|
Api.Spec
|
|
Api.Types
|
|
Cli
|
|
Polysemy.Commonmark.AST
|
|
Polysemy.Output.IO
|
|
Polysemy.Sgr
|
|
Color.Print
|
|
Color.Utils
|
|
hs-source-dirs: app
|
|
build-depends:
|
|
, aeson
|
|
, ansi-terminal
|
|
, base
|
|
, commonmark
|
|
, commonmark-extensions
|
|
, cryptohash-sha512
|
|
, deepseq
|
|
, http-api-data
|
|
, http-client
|
|
, optparse-applicative
|
|
, polysemy
|
|
, relude
|
|
, servant
|
|
, servant-client
|
|
, servant-polysemy
|
|
, unordered-containers
|