Skip to content

Commit

Permalink
Rename module CmdOutdated.hs to Outdated.hs
Browse files Browse the repository at this point in the history
The `Cmd*,hs` naming scheme is usually reserved for v2 commands and
this is a v1 command so renaming this to make way for a v2 version
of this command.
  • Loading branch information
erikd committed Oct 26, 2023
1 parent 0bab7cb commit 47b2bf8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ library
Distribution.Client.CmdInstall.ClientInstallTargetSelector
Distribution.Client.CmdLegacy
Distribution.Client.CmdListBin
Distribution.Client.CmdOutdated
Distribution.Client.CmdRepl
Distribution.Client.CmdRun
Distribution.Client.CmdSdist
Expand Down Expand Up @@ -146,6 +145,7 @@ library
Distribution.Client.ManpageFlags
Distribution.Client.Nix
Distribution.Client.NixStyleOptions
Distribution.Client.Outdated
Distribution.Client.PackageHash
Distribution.Client.ParseUtils
Distribution.Client.ProjectBuilding
Expand Down
4 changes: 2 additions & 2 deletions cabal-install/src/Distribution/Client/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ import qualified Distribution.Client.CmdHaddockProject as CmdHaddockProject
import qualified Distribution.Client.CmdInstall as CmdInstall
import Distribution.Client.CmdLegacy
import qualified Distribution.Client.CmdListBin as CmdListBin
import qualified Distribution.Client.CmdOutdated as CmdOutdated
import qualified Distribution.Client.CmdRepl as CmdRepl
import qualified Distribution.Client.CmdRun as CmdRun
import qualified Distribution.Client.CmdSdist as CmdSdist
import qualified Distribution.Client.CmdTest as CmdTest
import qualified Distribution.Client.CmdUpdate as CmdUpdate
import qualified Distribution.Client.Outdated as Outdated

import Distribution.Client.Check as Check (check)
import Distribution.Client.Configure (configure, writeConfigFlags)
Expand Down Expand Up @@ -393,7 +393,7 @@ mainWorker args = do
, regularCmd initCommand initAction
, regularCmd userConfigCommand userConfigAction
, regularCmd genBoundsCommand genBoundsAction
, regularCmd CmdOutdated.outdatedCommand CmdOutdated.outdatedAction
, regularCmd Outdated.outdatedCommand Outdated.outdatedAction
, wrapperCmd hscolourCommand hscolourVerbosity hscolourDistPref
, hiddenCmd formatCommand formatAction
, hiddenCmd actAsSetupCommand actAsSetupAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
--
-- Implementation of the 'outdated' command. Checks for outdated
-- dependencies in the package description file or freeze file.
module Distribution.Client.CmdOutdated
module Distribution.Client.Outdated
( outdatedCommand
, outdatedAction
, ListOutdatedSettings (..)
Expand Down

0 comments on commit 47b2bf8

Please sign in to comment.