module Development.Shake.FilePath,
-- * Paths
- configPath, configFile, sourcePath, programInplacePath,
+ configPath, configFile, sourcePath,
-- * Miscellaneous utilities
minusOrd, intersectOrd, lookupAll, replaceEq, replaceSeparators, unifyPath,
sourcePath :: FilePath
sourcePath = hadrianPath -/- "src"
--- TODO: move to buildRootPath, see #113
-programInplacePath :: FilePath
-programInplacePath = "inplace/bin"
-
-- | Find and replace all occurrences of a value in a list.
replaceEq :: Eq a => a -> a -> [a] -> [a]
replaceEq from = replaceWhen (== from)
pkgLibraryFile0, pkgGhciLibraryFile, gmpBuildPath, gmpObjects, gmpLibraryH,
gmpBuildInfoPath, generatedPath, libffiBuildPath, shakeFilesPath, pkgConfFile,
packageDbDirectory, packageDbStamp, bootPackageConstraints, packageDependencies,
- objectPath, programInplaceLibPath, installPath
+ objectPath, programInplacePath, programInplaceLibPath, installPath
) where
import Base
stageDirectory = stageString
-- TODO: Move to buildRootPath, see #113.
--- | Directory for wrapped binaries.
+-- | Directory for binaries that are built "in place".
+programInplacePath :: FilePath
+programInplacePath = "inplace/bin"
+
+-- | Directory for binary wrappers, and auxiliary binaries such as @touchy@.
programInplaceLibPath :: FilePath
programInplaceLibPath = "inplace/lib/bin"