mirror of https://github.com/voidlizard/hbs2
145 lines
3.3 KiB
Plaintext
145 lines
3.3 KiB
Plaintext
cabal-version: 3.0
|
|
name: hbs2-cli
|
|
version: 0.25.2
|
|
-- synopsis:
|
|
-- description:
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
author: Dmitry Zuikov
|
|
-- copyright:
|
|
category: System
|
|
build-type: Simple
|
|
-- extra-doc-files: CHANGELOG.md
|
|
-- extra-source-files:
|
|
|
|
common shared-properties
|
|
ghc-options:
|
|
-Wall
|
|
-fno-warn-type-defaults
|
|
-threaded
|
|
-rtsopts
|
|
-O2
|
|
"-with-rtsopts=-N4 -A64m -AL256m -I0"
|
|
|
|
default-language: GHC2021
|
|
|
|
default-extensions:
|
|
ApplicativeDo
|
|
, BangPatterns
|
|
, BlockArguments
|
|
, ConstraintKinds
|
|
, DataKinds
|
|
, DeriveDataTypeable
|
|
, DeriveGeneric
|
|
, DerivingStrategies
|
|
, DerivingVia
|
|
, ExtendedDefaultRules
|
|
, FlexibleContexts
|
|
, FlexibleInstances
|
|
, GADTs
|
|
, GeneralizedNewtypeDeriving
|
|
, ImportQualifiedPost
|
|
, LambdaCase
|
|
, MultiParamTypeClasses
|
|
, OverloadedStrings
|
|
, QuasiQuotes
|
|
, RecordWildCards
|
|
, ScopedTypeVariables
|
|
, StandaloneDeriving
|
|
, TupleSections
|
|
, TypeApplications
|
|
, TypeFamilies
|
|
, PatternSynonyms
|
|
, ViewPatterns
|
|
|
|
|
|
build-depends:
|
|
hbs2-core
|
|
, hbs2-peer
|
|
, hbs2-storage-simple
|
|
, hbs2-keyman-direct-lib
|
|
, db-pipe
|
|
, suckless-conf
|
|
|
|
, attoparsec
|
|
, atomic-write
|
|
, bytestring
|
|
, binary
|
|
, containers
|
|
, directory
|
|
, exceptions
|
|
, filepath
|
|
, filepattern
|
|
, generic-lens
|
|
, hashable
|
|
, interpolatedstring-perl6
|
|
, memory
|
|
, microlens-platform
|
|
, mtl
|
|
, safe
|
|
, serialise
|
|
, streaming
|
|
, stm
|
|
, text
|
|
, time
|
|
, timeit
|
|
, transformers
|
|
, typed-process
|
|
, unordered-containers
|
|
, unliftio
|
|
, unliftio-core
|
|
, zlib
|
|
, prettyprinter
|
|
, prettyprinter-ansi-terminal
|
|
, random
|
|
, vector
|
|
, unix
|
|
, split
|
|
|
|
|
|
library
|
|
import: shared-properties
|
|
|
|
exposed-modules:
|
|
HBS2.CLI
|
|
HBS2.CLI.Prelude
|
|
HBS2.CLI.Bind
|
|
HBS2.CLI.Run
|
|
HBS2.CLI.Run.Internal
|
|
HBS2.CLI.Run.Internal.GroupKey
|
|
HBS2.CLI.Run.Internal.Merkle
|
|
HBS2.CLI.Run.Internal.KeyMan
|
|
HBS2.CLI.Run.Internal.RefChan
|
|
HBS2.CLI.Run.Internal.RefLog
|
|
HBS2.CLI.Run.GroupKey
|
|
HBS2.CLI.Run.KeyMan
|
|
HBS2.CLI.Run.Keyring
|
|
HBS2.CLI.Run.Tree
|
|
HBS2.CLI.Run.MetaData
|
|
HBS2.CLI.Run.Peer
|
|
HBS2.CLI.Run.RefLog
|
|
HBS2.CLI.Run.RefChan
|
|
HBS2.CLI.Run.LWWRef
|
|
HBS2.CLI.Run.Mailbox
|
|
HBS2.CLI.Run.Sigil
|
|
|
|
HBS2.CLI.Run.Help
|
|
|
|
build-depends: base
|
|
, magic
|
|
|
|
hs-source-dirs: lib
|
|
|
|
|
|
executable hbs2-cli
|
|
import: shared-properties
|
|
main-is: Main.hs
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends:
|
|
base, hbs2-cli
|
|
|
|
hs-source-dirs: app
|
|
default-language: GHC2021
|
|
|