Rename Rules.Data to Rules.PackageData
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Tue, 17 Oct 2017 23:44:28 +0000 (00:44 +0100)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Tue, 17 Oct 2017 23:44:28 +0000 (00:44 +0100)
See #433

hadrian.cabal
src/Rules.hs
src/Rules/PackageData.hs [moved from src/Rules/Data.hs with 99% similarity]

index 8e583c7..54a0273 100644 (file)
@@ -46,7 +46,7 @@ executable hadrian
                        , Rules.Clean
                        , Rules.Compile
                        , Rules.Configure
-                       , Rules.Data
+                       , Rules.PackageData
                        , Rules.Dependencies
                        , Rules.Documentation
                        , Rules.Generate
index 730823f..97270a6 100644 (file)
@@ -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
similarity index 99%
rename from src/Rules/Data.hs
rename to src/Rules/PackageData.hs
index c6d894b..2442b03 100644 (file)
@@ -1,4 +1,4 @@
-module Rules.Data (buildPackageData) where
+module Rules.PackageData (buildPackageData) where
 
 import Base
 import Context