An executable builds

This commit is contained in:
Serguey Zefirov 2023-06-26 18:01:24 +03:00
parent a9842ac221
commit 864df864f4
2 changed files with 7 additions and 35 deletions

View File

@ -4,7 +4,7 @@
-- --
-- Copyright (C) Serguey Zefirov, 2023. -- Copyright (C) Serguey Zefirov, 2023.
module Consensus where module Main where
main = do main = do
putStrLn "consensus!" putStrLn "consensus!"

View File

@ -1,12 +1,12 @@
cabal-version: 3.0 cabal-version: 3.0
name: hbs2-git name: hbs2-consensus
version: 0.1.0.0 version: 0.1.0.0
-- synopsis: -- synopsis:
-- description: -- description:
license: BSD-3-Clause license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
author: Dmitry Zuikov author: Serguey Zefirov
maintainer: dzuikov@gmail.com maintainer: sergueyz@gmail.com
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
@ -107,43 +107,15 @@ executable consensus-kv
-rtsopts -rtsopts
"-with-rtsopts=-N4 -A64m -AL256m -I0" "-with-rtsopts=-N4 -A64m -AL256m -I0"
other-modules: -- other-modules:
RunShow
-- other-extensions: -- other-extensions:
build-depends: build-depends:
base, hbs2-git base, hbs2-consensus
, optparse-applicative , optparse-applicative
, http-types , http-types
hs-source-dirs: git-hbs2 -- hs-source-dirs: git-hbs2
default-language: Haskell2010 default-language: Haskell2010
executable git-remote-hbs2
import: shared-properties
main-is: GitRemoteMain.hs
ghc-options:
-threaded
-rtsopts
"-with-rtsopts=-N4 -A64m -AL256m -I0"
other-modules:
GitRemoteTypes
GitRemotePush
-- other-extensions:
build-depends:
base, hbs2-git
, async
, attoparsec
, optparse-applicative
, unix
, unliftio
, terminal-progress-bar
, http-types
hs-source-dirs: git-hbs2
default-language: Haskell2010