Oracles.hs 711 Bytes
Newer Older
Andrey Mokhov's avatar
Andrey Mokhov committed
1
module Rules.Oracles (oracleRules) where
2

3
import qualified Hadrian.Oracles.ArgsHash
4
import qualified Hadrian.Oracles.DirectoryContents
5

6
import Base
Andrey Mokhov's avatar
Andrey Mokhov committed
7 8
import qualified Oracles.Config
import qualified Oracles.Dependencies
9
import qualified Oracles.ModuleFiles
Andrey Mokhov's avatar
Andrey Mokhov committed
10
import qualified Oracles.PackageData
11
import qualified Oracles.Path
12 13
import Target
import Settings
14 15

oracleRules :: Rules ()
16
oracleRules = do
17
    Hadrian.Oracles.ArgsHash.argsHashOracle trackArgument getArgs
18
    Hadrian.Oracles.DirectoryContents.directoryContentsOracle
Andrey Mokhov's avatar
Andrey Mokhov committed
19
    Oracles.Config.configOracle
Andrey Mokhov's avatar
Andrey Mokhov committed
20
    Oracles.Dependencies.dependenciesOracles
Andrey Mokhov's avatar
Andrey Mokhov committed
21 22
    Oracles.ModuleFiles.moduleFilesOracle
    Oracles.PackageData.packageDataOracle
23
    Oracles.Path.pathOracle