Skip to content

Commit f6b84ac

Browse files
committed
rename 'Testnet/Commands' to 'Parsers'
1 parent 3229b43 commit f6b84ac

File tree

9 files changed

+19
-33
lines changed

9 files changed

+19
-33
lines changed

cardano-testnet/app/cardano-testnet.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Data.Function
55
import Data.Semigroup
66
import Options.Applicative
77
import System.IO (IO)
8-
import Testnet.Commands
8+
import Parsers
99

1010
main :: IO ()
1111
main = join $ customExecParser

cardano-testnet/cardano-testnet.cabal

+7-9
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,21 @@ library
5757
, unordered-containers
5858

5959
hs-source-dirs: src
60-
exposed-modules: Test.Assert
60+
exposed-modules: Parsers
61+
Parsers.Babbage
62+
Parsers.Byron
63+
Parsers.Cardano
64+
Parsers.Shelley
65+
Parsers.Version
66+
Test.Assert
6167
Test.Base
6268
Test.Process
6369
Test.Runtime
6470
Testnet
6571
Testnet.Babbage
6672
Testnet.Byron
6773
Testnet.Cardano
68-
Testnet.Commands
69-
Testnet.Commands.Babbage
70-
Testnet.Commands.Byron
71-
Testnet.Commands.Cardano
72-
Testnet.Commands.Shelley
73-
Testnet.Commands.Version
7474
Testnet.Conf
75-
Testnet.List
7675
Testnet.Run
7776
Testnet.Shelley
7877
Testnet.SubmitApi
@@ -91,7 +90,6 @@ executable cardano-testnet
9190

9291
build-depends: cardano-testnet
9392
, optparse-applicative-fork
94-
, text
9593

9694
ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T
9795

cardano-testnet/src/Testnet/Commands.hs renamed to cardano-testnet/src/Parsers.hs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
module Testnet.Commands where
1+
module Parsers where
22

33
import Data.Function
44
import Data.Monoid
55
import Options.Applicative
66
import System.IO (IO)
7-
import Testnet.Commands.Babbage
8-
import Testnet.Commands.Byron
9-
import Testnet.Commands.Cardano
10-
import Testnet.Commands.Shelley
11-
import Testnet.Commands.Version
7+
import Parsers.Babbage
8+
import Parsers.Byron
9+
import Parsers.Cardano
10+
import Parsers.Shelley
11+
import Parsers.Version
1212

1313
{- HLINT ignore "Monoid law, left identity" -}
1414

cardano-testnet/src/Testnet/Commands/Babbage.hs renamed to cardano-testnet/src/Parsers/Babbage.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Testnet.Commands.Babbage
1+
module Parsers.Babbage
22
( BabbageOptions(..)
33
, cmdBabbage
44
, runBabbageOptions

cardano-testnet/src/Testnet/Commands/Byron.hs renamed to cardano-testnet/src/Parsers/Byron.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Testnet.Commands.Byron
1+
module Parsers.Byron
22
( ByronOptions(..)
33
, cmdByron
44
, runByronOptions

cardano-testnet/src/Testnet/Commands/Cardano.hs renamed to cardano-testnet/src/Parsers/Cardano.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{-# LANGUAGE TypeApplications #-}
22

3-
module Testnet.Commands.Cardano
3+
module Parsers.Cardano
44
( CardanoOptions(..)
55
, cmdCardano
66
, runCardanoOptions

cardano-testnet/src/Testnet/Commands/Shelley.hs renamed to cardano-testnet/src/Parsers/Shelley.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Testnet.Commands.Shelley
1+
module Parsers.Shelley
22
( ShelleyOptions(..)
33
, cmdShelley
44
, runShelleyOptions

cardano-testnet/src/Testnet/Commands/Version.hs renamed to cardano-testnet/src/Parsers/Version.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Testnet.Commands.Version
1+
module Parsers.Version
22
( VersionOptions(..)
33
, cmdVersion
44
, runVersionOptions

cardano-testnet/src/Testnet/List.hs

-12
This file was deleted.

0 commit comments

Comments
 (0)