[commit: ghc] wip/nfs-locking: Move to shake-build subdirectory. (6961517)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:12:13 UTC 2017


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

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

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

commit 69615175a302d90a4e8b76d419124282d0b861e6
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Sat Dec 19 01:04:20 2015 +0000

    Move to shake-build subdirectory.


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

69615175a302d90a4e8b76d419124282d0b861e6
 src/Base.hs | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/Base.hs b/src/Base.hs
index 896ddc9..bfa7730 100644
--- a/src/Base.hs
+++ b/src/Base.hs
@@ -39,11 +39,14 @@ import qualified System.Directory as IO
 import System.IO
 
 -- Build system files and paths
+shakePath :: FilePath
+shakePath = "shake-build"
+
 shakeFilesPath :: FilePath
-shakeFilesPath = "_build/"
+shakeFilesPath = shakeFilesPath -/- ".db"
 
 configPath :: FilePath
-configPath = "shake/cfg/"
+configPath = shakePath -/- "cfg"
 
 bootPackageConstraints :: FilePath
 bootPackageConstraints = shakeFilesPath ++ "boot-package-constraints"



More information about the ghc-commits mailing list