Safe Haskell | None |
---|
- type Recipe = Recipe1
- type Recipe1 = RecipeT (Map String (Set Variable))
- type Recipe2 = RecipeT (Map String Variable)
- type Location = String
- type Target = Set File
- data MakeState = MS {}
- addPlacement :: RecipeT x -> Make ()
- modifyRecipes :: MonadState MakeState m => (Map Target (Set Recipe1) -> Map Target (Set Recipe1)) -> m ()
- applyPlacement :: Eq x => Map Target (RecipeT x) -> [Target] -> [RecipeT x]
- addMakeDep :: File -> Make ()
- defMS :: MakeState
- newtype Alias = Alias (File, [File], Make Recipe)
- newtype Make a = Make {}
- makefileT :: FileLike x => FileT x
- addRebuildDeps :: Set File -> Map Target Recipe2 -> Map Target Recipe2
- addMakeDeps :: Map Target Recipe2 -> Map Target Recipe2
- flattern :: (Ord x, Ord y, Show y) => Map x (Set y) -> Either String (Map x y)
- flattern' :: (Ord x, Ord y, Show y) => Map x (Set y) -> Map x y
- check :: Map Target (Set Recipe1) -> Either String (Map String Variable, Map Target Recipe2)
- evalMake :: Make () -> IO (Either String (Map String Variable, Map Target Recipe2, [Target]))
- modifyLoc :: MonadState MakeState m => (Location -> Location) -> m ()
- addRecipe :: Recipe1 -> Make ()
- getLoc :: Make String
- newtype A a = A {}
- addVariable :: Variable -> A ()
- targets :: A (Set File)
- prerequisites :: A (Set File)
- runA :: Recipe1 -> A a -> Make Recipe1
- readFile :: File -> A String
- class Placable a where
Documentation
addPlacement :: RecipeT x -> Make ()Source
modifyRecipes :: MonadState MakeState m => (Map Target (Set Recipe1) -> Map Target (Set Recipe1)) -> m ()Source
addMakeDep :: File -> Make ()Source
The File Alias records the file which may be referenced from other rules, it's Brothers, and the recipes required to build this file.
addVariable :: Variable -> A ()Source
prerequisites :: A (Set File)Source