Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type Set = Set
- type Map = Map
- type FileName = String
- type FileContent = String
- main :: IO ()
- buildTarget :: Path Abs Dir -> MakeFile -> MakeRule -> Flow () (Path Abs File)
- compileFile :: Path Abs Dir -> Flow (TargetFile, Map SourceFile String, [Path Abs File], Command) (Path Abs File)
- newtype Id a b = Id {}
- flowJoin :: [Id a b] -> Flow [a] [b]
- mergeFilesRaw :: Path Abs Dir -> [Path Abs File] -> IO (Content Dir)
- mergeFiles :: Path Abs Dir -> Flow [Path Abs File] (Content Dir)
- writeExecutableString :: Path Abs Dir -> Flow (String, Path Rel File) (Item, Content File)
- findRules :: MakeFile -> [TargetFile] -> Maybe [MakeRule]
- putInStoreAt :: (ContentHashable IO a, Typeable t) => Path Abs Dir -> (Path Abs t -> a -> IO ()) -> (a, Path Rel t) -> IO (Item, Content t)
- write2Store :: Path Abs Dir -> Flow (Map FileName FileContent) [Path Abs File]
- ioContentPath :: Path Abs Dir -> Content t -> IO (Path Abs t)
- getRunConfigWithoutFile :: Path Abs Dir -> RunFlowConfig
- failGuardFlow :: Flow Bool ()
- failNow :: Flow () a
- failWith :: Flow String a
- msgFlow :: String -> Flow () ()
Documentation
type FileContent = String Source #
buildTarget :: Path Abs Dir -> MakeFile -> MakeRule -> Flow () (Path Abs File) Source #
Building A Target
compileFile :: Path Abs Dir -> Flow (TargetFile, Map SourceFile String, [Path Abs File], Command) (Path Abs File) Source #
Compiles a C file in a docker container.
putInStoreAt :: (ContentHashable IO a, Typeable t) => Path Abs Dir -> (Path Abs t -> a -> IO ()) -> (a, Path Rel t) -> IO (Item, Content t) Source #
failGuardFlow :: Flow Bool () Source #