Commit d81e0416 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Move Selftest and Test rules into Rules directory.

parent e7f8710c
......@@ -63,10 +63,11 @@ executable ghc-shake
, Rules.Program
, Rules.Register
, Rules.Resources
, Rules.Selftest
, Rules.Setup
, Rules.Test
, Rules.Wrappers.Ghc
, Rules.Wrappers.GhcPkg
, Selftest
, Settings
, Settings.Args
, Settings.Builders.Alex
......@@ -106,7 +107,6 @@ executable ghc-shake
, Settings.Ways
, Stage
, Target
, Test
, Way
default-language: Haskell2010
......
......@@ -8,8 +8,8 @@ import qualified Environment
import qualified Rules
import qualified Rules.Clean
import qualified Rules.Oracles
import qualified Selftest
import qualified Test
import qualified Rules.Selftest
import qualified Rules.Test
main :: IO ()
main = shakeArgsWith options CmdLineFlag.cmdFlags $ \cmdLineFlags targets -> do
......@@ -23,10 +23,10 @@ main = shakeArgsWith options CmdLineFlag.cmdFlags $ \cmdLineFlags targets -> do
rules = mconcat
[ Rules.Clean.cleanRules
, Rules.Oracles.oracleRules
, Rules.Selftest.selftestRules
, Rules.Test.testRules
, Rules.buildRules
, Rules.topLevelTargets
, Selftest.selftestRules
, Test.testRules ]
, Rules.topLevelTargets ]
options = shakeOptions
{ shakeChange = ChangeModtimeAndDigest
, shakeFiles = Base.shakeFilesPath
......
{-# LANGUAGE ScopedTypeVariables #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Selftest (selftestRules) where
module Rules.Selftest (selftestRules) where
import Development.Shake
import Settings.Builders.Ar (chunksOfSize)
......
module Test (testRules) where
module Rules.Test (testRules) where
import Base
import Builder
......
Supports Markdown
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