[commit: ghc] wip/nfs-locking: Rename Rules.Data to Rules.PackageData (4df3e2d)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 01:29:37 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/4df3e2dc441a5d5b6ff61f75573ff4b9a74e562f/ghc

>---------------------------------------------------------------

commit 4df3e2dc441a5d5b6ff61f75573ff4b9a74e562f
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Oct 18 00:44:28 2017 +0100

    Rename Rules.Data to Rules.PackageData
    
    See #433


>---------------------------------------------------------------

4df3e2dc441a5d5b6ff61f75573ff4b9a74e562f
 hadrian.cabal                         | 2 +-
 src/Rules.hs                          | 4 ++--
 src/Rules/{Data.hs => PackageData.hs} | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hadrian.cabal b/hadrian.cabal
index 8e583c7..54a0273 100644
--- a/hadrian.cabal
+++ b/hadrian.cabal
@@ -46,7 +46,7 @@ executable hadrian
                        , Rules.Clean
                        , Rules.Compile
                        , Rules.Configure
-                       , Rules.Data
+                       , Rules.PackageData
                        , Rules.Dependencies
                        , Rules.Documentation
                        , Rules.Generate
diff --git a/src/Rules.hs b/src/Rules.hs
index 730823f..97270a6 100644
--- a/src/Rules.hs
+++ b/src/Rules.hs
@@ -9,7 +9,7 @@ import Expression
 import Flavour
 import qualified Oracles.ModuleFiles
 import qualified Rules.Compile
-import qualified Rules.Data
+import qualified Rules.PackageData
 import qualified Rules.Dependencies
 import qualified Rules.Documentation
 import qualified Rules.Generate
@@ -99,7 +99,7 @@ packageRules = do
         Rules.Program.buildProgram readPackageDb
 
     forM_ vanillaContexts $ mconcat
-        [ Rules.Data.buildPackageData
+        [ Rules.PackageData.buildPackageData
         , Rules.Dependencies.buildPackageDependencies readPackageDb
         , Rules.Documentation.buildPackageDocumentation
         , Rules.Library.buildPackageGhciLibrary
diff --git a/src/Rules/Data.hs b/src/Rules/PackageData.hs
similarity index 99%
rename from src/Rules/Data.hs
rename to src/Rules/PackageData.hs
index c6d894b..2442b03 100644
--- a/src/Rules/Data.hs
+++ b/src/Rules/PackageData.hs
@@ -1,4 +1,4 @@
-module Rules.Data (buildPackageData) where
+module Rules.PackageData (buildPackageData) where
 
 import Base
 import Context



More information about the ghc-commits mailing list