mirror of https://github.com/voidlizard/hbs2
157 lines
3.6 KiB
Plaintext
157 lines
3.6 KiB
Plaintext
cabal-version: 3.0
|
|
name: hbs21-git
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
author: Dmitry Zuikov
|
|
maintainer: dzuikov@gmail.com
|
|
-- 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
|
|
|
|
|
|
build-depends:
|
|
hbs2-core
|
|
, hbs2-peer
|
|
, hbs2-storage-simple
|
|
, hbs2-keyman
|
|
, db-pipe
|
|
, suckless-conf
|
|
|
|
, attoparsec
|
|
, atomic-write
|
|
, bytestring
|
|
, binary
|
|
, containers
|
|
, directory
|
|
, exceptions
|
|
, filepath
|
|
, filepattern
|
|
, 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
|
|
|
|
|
|
library hbs2-git-client-lib
|
|
import: shared-properties
|
|
|
|
exposed-modules:
|
|
HBS2.Git.Local
|
|
HBS2.Git.Local.CLI
|
|
|
|
HBS2.Git.Data.Tx
|
|
HBS2.Git.Data.GK
|
|
HBS2.Git.Data.RefLog
|
|
HBS2.Git.Data.LWWBlock
|
|
|
|
HBS2.Git.Client.Prelude
|
|
HBS2.Git.Client.App.Types
|
|
HBS2.Git.Client.App.Types.GitEnv
|
|
HBS2.Git.Client.App
|
|
HBS2.Git.Client.Config
|
|
HBS2.Git.Client.State
|
|
HBS2.Git.Client.RefLog
|
|
HBS2.Git.Client.Export
|
|
HBS2.Git.Client.Import
|
|
HBS2.Git.Client.Progress
|
|
|
|
build-depends: base
|
|
, base16-bytestring
|
|
, binary
|
|
, unix
|
|
|
|
hs-source-dirs: hbs2-git-client-lib
|
|
|
|
|
|
executable git-hbs21
|
|
import: shared-properties
|
|
main-is: Main.hs
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends:
|
|
base, hbs2-git-client-lib
|
|
, binary
|
|
, vector
|
|
, optparse-applicative
|
|
|
|
hs-source-dirs: git-hbs21
|
|
default-language: GHC2021
|
|
|
|
|
|
executable git-remote-hbs21
|
|
import: shared-properties
|
|
main-is: Main.hs
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends:
|
|
base, hbs2-git-client-lib
|
|
, binary
|
|
, vector
|
|
, optparse-applicative
|
|
|
|
hs-source-dirs: git-remote-hbs21
|
|
default-language: GHC2021
|
|
|
|
|