Commit 3178d829 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Drop top-level Oracles.hs

parent bd405c10
......@@ -23,7 +23,6 @@ executable ghc-shake
, Environment
, Expression
, GHC
, Oracles
, Oracles.ArgsHash
, Oracles.Config
, Oracles.Config.Flag
......
......@@ -8,7 +8,9 @@ import Control.Monad.Trans.Reader
import Base
import GHC
import GHC.Generics (Generic)
import Oracles
import Oracles.Config
import Oracles.LookupInPath
import Oracles.WindowsPath
import Package
import Stage
......
module Oracles (
module Oracles.Config,
module Oracles.Config.Flag,
module Oracles.Config.Setting,
module Oracles.Dependencies,
module Oracles.LookupInPath,
module Oracles.PackageData,
module Oracles.PackageDeps,
module Oracles.WindowsPath
) where
import Oracles.Config
import Oracles.Config.Flag
import Oracles.Config.Setting
import Oracles.Dependencies
import Oracles.LookupInPath
import Oracles.PackageData
import Oracles.PackageDeps
import Oracles.WindowsPath
......@@ -11,8 +11,8 @@ import System.Console.ANSI
import Base
import CmdLineFlag
import Expression
import Oracles
import Oracles.ArgsHash
import Oracles.WindowsPath
import Settings
import Settings.Args
import Settings.Builders.Ar
......
......@@ -2,7 +2,7 @@ module Rules.Compile (compilePackage) where
import Base
import Expression
import Oracles
import Oracles.Dependencies
import Rules.Actions
import Rules.Resources
import Settings
......
......@@ -5,7 +5,8 @@ import qualified System.Directory as IO
import Base
import Expression
import GHC
import Oracles
import Oracles.Config.Setting
import Oracles.PackageDeps
import Rules.Actions
import Rules.Generate
import Rules.Libffi
......
......@@ -2,7 +2,7 @@ module Rules.Dependencies (buildPackageDependencies) where
import Base
import Expression
import Oracles
import Oracles.PackageData
import Rules.Actions
import Rules.Resources
import Settings
......
......@@ -3,7 +3,7 @@ module Rules.Documentation (buildPackageDocumentation) where
import Base
import Expression
import GHC
import Oracles
import Oracles.PackageData
import Rules.Actions
import Rules.Resources
import Settings
......
......@@ -3,7 +3,8 @@ module Rules.Generators.ConfigHs (generateConfigHs) where
import Base
import Expression
import GHC
import Oracles
import Oracles.Config.Flag
import Oracles.Config.Setting
import Settings
import Rules.Generators.Common
......
......@@ -2,7 +2,8 @@ module Rules.Generators.GhcAutoconfH (generateGhcAutoconfH, configH) where
import Base
import Expression
import Oracles
import Oracles.Config.Flag
import Oracles.Config.Setting
import Rules.Generators.Common
-- TODO: change `mk/config.h` to `shake-build/cfg/config.h`
......
......@@ -2,7 +2,7 @@ module Rules.Generators.GhcBootPlatformH (generateGhcBootPlatformH) where
import Base
import Expression
import Oracles
import Oracles.Config.Setting
import Rules.Generators.Common
generateGhcBootPlatformH :: Expr String
......
......@@ -2,7 +2,8 @@ module Rules.Generators.GhcPlatformH (generateGhcPlatformH) where
import Base
import Expression
import Oracles
import Oracles.Config.Flag
import Oracles.Config.Setting
import Rules.Generators.Common
generateGhcPlatformH :: Expr String
......
......@@ -2,7 +2,7 @@ module Rules.Generators.GhcSplit (generateGhcSplit) where
import Base
import Expression
import Oracles
import Oracles.Config.Setting
import Rules.Generators.Common
ghcSplitSource :: FilePath
......
module Rules.Generators.GhcVersionH (generateGhcVersionH) where
import Expression
import Oracles
import Oracles.Config.Setting
import Rules.Generators.Common
generateGhcVersionH :: Expr String
......
......@@ -2,7 +2,7 @@ module Rules.Generators.VersionHs (generateVersionHs) where
import Base
import Expression
import Oracles
import Oracles.Config.Setting
import Rules.Generators.Common
generateVersionHs :: Expr String
......
......@@ -3,7 +3,9 @@ module Rules.Libffi (rtsBuildPath, libffiRules, libffiDependencies) where
import Base
import Expression
import GHC
import Oracles
import Oracles.Config.Flag
import Oracles.Config.Setting
import Oracles.WindowsPath
import Rules.Actions
import Settings.Builders.Common
import Settings.Packages.Rts
......
......@@ -5,7 +5,7 @@ import Data.Char
import Base hiding (splitPath)
import Expression
import GHC
import Oracles
import Oracles.PackageData
import Rules.Actions
import Rules.Gmp
import Rules.Resources
......
......@@ -5,7 +5,8 @@ import Data.Char
import Base
import Expression
import GHC hiding (ghci)
import Oracles
import Oracles.Config.Setting
import Oracles.PackageData
import Rules.Actions
import Rules.Library
import Rules.Resources
......
......@@ -9,8 +9,9 @@ module Settings (
import Base
import Expression
import Oracles
import Oracles.ModuleFiles
import Oracles.PackageData
import Oracles.WindowsPath
import Settings.Packages
import Settings.Paths
import Settings.User
......
......@@ -2,7 +2,8 @@ module Settings.Builders.Ar (arBuilderArgs, arCmd, chunksOfSize) where
import Base
import Expression
import Oracles
import Oracles.Config.Flag
import Oracles.Config.Setting
import Predicates (builder)
-- | Default arguments for 'Ar' builder
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment