mirror of https://github.com/voidlizard/hbs2
wip, hbs2-git-dashboard to toplevel to untie dependencies with hbs2-git
This commit is contained in:
parent
cdf1092b5d
commit
2370681a42
|
@ -49,6 +49,7 @@ outputs = { self, nixpkgs, haskell-flake-utils, ... }@inputs:
|
|||
"hbs2-core"
|
||||
"hbs2-storage-simple"
|
||||
"hbs2-git"
|
||||
"hbs2-git-dashboard"
|
||||
"hbs2-qblf"
|
||||
"hbs2-keyman"
|
||||
"hbs2-keyman-direct-lib"
|
||||
|
@ -79,6 +80,7 @@ outputs = { self, nixpkgs, haskell-flake-utils, ... }@inputs:
|
|||
"hbs2-keyman" = "./hbs2-keyman/hbs2-keyman";
|
||||
"hbs2-keyman-direct-lib" = "./hbs2-keyman/hbs2-keyman-direct-lib";
|
||||
"hbs2-git" = "./hbs2-git";
|
||||
"hbs2-git-dashboard" = "./hbs2-git-dashboard";
|
||||
"hbs2-fixer" = "./hbs2-fixer";
|
||||
"hbs2-cli" = "./hbs2-cli";
|
||||
"hbs2-sync" = "./hbs2-sync";
|
||||
|
|
|
@ -0,0 +1,207 @@
|
|||
cabal-version: 3.0
|
||||
name: hbs2-git-dashboard
|
||||
version: 0.24.1.2
|
||||
license: BSD-3-Clause
|
||||
author: Dmitry Zuikov
|
||||
category: System
|
||||
build-type: Simple
|
||||
|
||||
common shared-properties
|
||||
ghc-options:
|
||||
-Wall
|
||||
-fno-warn-type-defaults
|
||||
-fno-warn-unused-matches
|
||||
-O2
|
||||
|
||||
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
|
||||
|
||||
|
||||
library hbs2-git-dashboard-assets
|
||||
import: shared-properties
|
||||
|
||||
build-depends:
|
||||
base
|
||||
, bytestring
|
||||
, interpolatedstring-perl6
|
||||
, file-embed
|
||||
, lucid
|
||||
, text
|
||||
|
||||
exposed-modules:
|
||||
HBS2.Git.Web.Assets
|
||||
|
||||
hs-source-dirs: hbs2-git-dashboard-assets
|
||||
|
||||
default-language: GHC2021
|
||||
|
||||
|
||||
library hbs2-git-dashboard-core
|
||||
import: shared-properties
|
||||
|
||||
build-depends:
|
||||
, base
|
||||
|
||||
, hbs2-git-dashboard-assets
|
||||
, hbs2-core
|
||||
, hbs2-peer
|
||||
, hbs2-storage-simple
|
||||
, hbs2-git
|
||||
, hbs2-keyman-direct-lib
|
||||
, db-pipe
|
||||
, suckless-conf
|
||||
|
||||
, aeson
|
||||
, atomic-write
|
||||
, attoparsec
|
||||
, binary
|
||||
, bytestring
|
||||
, containers
|
||||
, deriving-compat
|
||||
, directory
|
||||
, exceptions
|
||||
, filepath
|
||||
, filepattern
|
||||
, generic-data
|
||||
, generic-deriving
|
||||
, http-types
|
||||
, interpolatedstring-perl6
|
||||
, lucid
|
||||
, lucid-htmx
|
||||
, memory
|
||||
, microlens-platform
|
||||
, mtl
|
||||
, network-uri
|
||||
, optparse-applicative
|
||||
, pandoc
|
||||
, prettyprinter
|
||||
, prettyprinter-ansi-terminal
|
||||
, random
|
||||
, safe
|
||||
, scotty >= 0.21
|
||||
, serialise
|
||||
, skylighting
|
||||
, skylighting-core
|
||||
, skylighting-lucid
|
||||
, stm
|
||||
, streaming
|
||||
, temporary
|
||||
, text
|
||||
, time
|
||||
, timeit
|
||||
, transformers
|
||||
, typed-process
|
||||
, unix
|
||||
, unliftio
|
||||
, unliftio-core
|
||||
, unordered-containers
|
||||
, vector
|
||||
, wai
|
||||
, wai-extra
|
||||
, wai-middleware-static
|
||||
, wai-middleware-static-embedded
|
||||
, zlib
|
||||
|
||||
exposed-modules:
|
||||
HBS2.Git.DashBoard.Prelude
|
||||
HBS2.Git.DashBoard.Types
|
||||
HBS2.Git.DashBoard.State
|
||||
HBS2.Git.DashBoard.State.Commits
|
||||
HBS2.Git.DashBoard.State.Index
|
||||
HBS2.Git.DashBoard.State.Index.Channels
|
||||
HBS2.Git.DashBoard.State.Index.Peer
|
||||
HBS2.Git.DashBoard.Manifest
|
||||
HBS2.Git.DashBoard.Fixme
|
||||
HBS2.Git.Web.Html.Root
|
||||
|
||||
hs-source-dirs: hbs2-git-dashboard-core
|
||||
|
||||
default-language: GHC2021
|
||||
|
||||
|
||||
executable hbs2-git-dashboard
|
||||
import: shared-properties
|
||||
main-is: GitDashBoard.hs
|
||||
|
||||
ghc-options:
|
||||
-threaded
|
||||
-rtsopts
|
||||
-O2
|
||||
"-with-rtsopts=-N4 -A64m -AL256m -I0"
|
||||
|
||||
other-modules:
|
||||
|
||||
-- other-extensions:
|
||||
build-depends:
|
||||
base
|
||||
|
||||
, hbs2-core
|
||||
, hbs2-git
|
||||
, hbs2-git-dashboard-assets
|
||||
, hbs2-git-dashboard-core
|
||||
, hbs2-peer
|
||||
, suckless-conf
|
||||
|
||||
, binary
|
||||
, bytestring
|
||||
, deriving-compat
|
||||
, directory
|
||||
, filepath
|
||||
, generic-data
|
||||
, generic-deriving
|
||||
, http-types
|
||||
, lucid
|
||||
, lucid-htmx
|
||||
, mtl
|
||||
, network-uri
|
||||
, optparse-applicative
|
||||
, pandoc
|
||||
, random
|
||||
, scotty >= 0.21
|
||||
, skylighting
|
||||
, skylighting-core
|
||||
, skylighting-lucid
|
||||
, stm
|
||||
, temporary
|
||||
, text
|
||||
, transformers
|
||||
, typed-process
|
||||
, unordered-containers
|
||||
, vector
|
||||
, wai
|
||||
, wai-extra
|
||||
, wai-middleware-static
|
||||
, wai-middleware-static-embedded
|
||||
|
||||
hs-source-dirs:
|
||||
app
|
||||
|
||||
default-language: GHC2021
|
||||
|
||||
|
|
@ -127,69 +127,6 @@ library
|
|||
hs-source-dirs: hbs2-git-client-lib
|
||||
|
||||
|
||||
library hbs2-git-dashboard-assets
|
||||
import: shared-properties
|
||||
|
||||
build-depends:
|
||||
base, file-embed, lucid, text
|
||||
|
||||
exposed-modules:
|
||||
HBS2.Git.Web.Assets
|
||||
|
||||
hs-source-dirs: hbs2-git-dashboard-assets
|
||||
|
||||
default-language: GHC2021
|
||||
|
||||
|
||||
executable hbs2-git-dashboard
|
||||
import: shared-properties
|
||||
main-is: GitDashBoard.hs
|
||||
|
||||
other-modules:
|
||||
HBS2.Git.DashBoard.Prelude
|
||||
HBS2.Git.DashBoard.Types
|
||||
HBS2.Git.DashBoard.State
|
||||
HBS2.Git.DashBoard.State.Commits
|
||||
HBS2.Git.DashBoard.State.Index
|
||||
HBS2.Git.DashBoard.State.Index.Channels
|
||||
HBS2.Git.DashBoard.State.Index.Peer
|
||||
HBS2.Git.DashBoard.Manifest
|
||||
HBS2.Git.DashBoard.Fixme
|
||||
HBS2.Git.Web.Html.Root
|
||||
|
||||
-- other-extensions:
|
||||
build-depends:
|
||||
base, hbs2-git-dashboard-assets, hbs2-peer, hbs2-git, suckless-conf
|
||||
, fuzzy-parse
|
||||
, binary
|
||||
, generic-deriving
|
||||
, generic-data
|
||||
, deriving-compat
|
||||
, vector
|
||||
, optparse-applicative
|
||||
, http-types
|
||||
, file-embed
|
||||
, network-uri
|
||||
, wai
|
||||
, wai-extra
|
||||
, wai-middleware-static
|
||||
, wai-middleware-static-embedded
|
||||
, lucid
|
||||
, lucid-htmx
|
||||
, pandoc
|
||||
, skylighting
|
||||
, skylighting-core
|
||||
, skylighting-lucid
|
||||
, scotty >= 0.21
|
||||
, temporary
|
||||
|
||||
hs-source-dirs:
|
||||
hbs2-git-dashboard
|
||||
hbs2-git-dashboard/src
|
||||
|
||||
default-language: GHC2021
|
||||
|
||||
|
||||
executable hbs2-git-subscribe
|
||||
import: shared-properties
|
||||
main-is: Main.hs
|
||||
|
|
Loading…
Reference in New Issue