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.

Since the `v2-outdated` command does everything the `v1` version of
the command does, this `Outdated.hs` module should probably be
removed.
  • Loading branch information
erikd committed Oct 24, 2024
1 parent 4776451 commit a41517e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,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
1 change: 1 addition & 0 deletions cabal-install/src/Distribution/Client/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ 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
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 a41517e

Please sign in to comment.