Skip to content

Commit

Permalink
Move local-cluster executable code to the executable stanza
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Apr 30, 2024
1 parent 2e09500 commit 1c2e540
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/local-cluster/exe/Cluster.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import qualified Cardano.Wallet.LocalCluster as LocalCluster
import qualified LocalCluster as LocalCluster

import Prelude

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{-# LANGUAGE OverloadedLabels #-}
{-# LANGUAGE ScopedTypeVariables #-}

module Cardano.Wallet.LocalCluster where
module LocalCluster where

import Prelude

Expand Down
21 changes: 18 additions & 3 deletions lib/local-cluster/local-cluster.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ common language
-Wpartial-fields -Wtabs -Wmissing-local-signatures -fhelpful-errors
-fprint-expanded-synonyms -fwarn-unused-do-bind
-fwarn-incomplete-uni-patterns -freverse-errors
-Wunused-packages

flag release
description: Enable optimization and `-Werror`
Expand Down Expand Up @@ -75,7 +76,6 @@ library
Cardano.Wallet.Launch.Cluster.StakeCertificates
Cardano.Wallet.Launch.Cluster.Tx
Cardano.Wallet.Launch.Cluster.UnsafeInterval
Cardano.Wallet.LocalCluster
Control.Monitoring.Concurrent
Control.Monitoring.Monitor
Control.Monitoring.Tracing
Expand Down Expand Up @@ -127,7 +127,6 @@ library
, network
, OddWord
, openapi3
, optparse-applicative
, ouroboros-network
, ouroboros-network-api
, pathtype
Expand All @@ -149,7 +148,6 @@ library
, typed-process
, unliftio
, warp
, with-utf8
, yaml

executable local-cluster
Expand All @@ -163,7 +161,24 @@ executable local-cluster

build-depends:
, base
, cardano-addresses
, cardano-wallet-application-extras
, cardano-wallet-launcher
, cardano-wallet-primitive
, directory
, iohk-monitoring-extra
, lens
, local-cluster
, optparse-applicative
, pathtype
, resourcet
, temporary-extra
, unliftio
, with-utf8

other-modules:
LocalCluster

test-suite test
import: language
type: exitcode-stdio-1.0
Expand Down

0 comments on commit 1c2e540

Please sign in to comment.