leksah-0.10.0.4: Haskell IDE written in HaskellSource codeContentsIndex
IDE.Build
Description
Simple build system for packages
Synopsis
constrDepGraph :: [IDEPackage] -> MakeGraph
constrMakeChain :: MakeSettings -> Workspace -> [IDEPackage] -> MakeOp -> MakeOp -> Chain MakeOp IDEPackage
doBuildChain :: MakeSettings -> Chain MakeOp IDEPackage -> IDEAction
makePackages :: MakeSettings -> [IDEPackage] -> MakeOp -> MakeOp -> WorkspaceAction
data MakeSettings = MakeSettings {
msMakeMode :: Bool
msSingleBuildWithoutLinking :: Bool
msSaveAllBeforeBuild :: Bool
msBackgroundBuild :: Bool
msDontInstallLast :: Bool
}
data MakeOp
= MoConfigure
| MoBuild
| MoInstall
| MoClean
| MoDocu
| MoOther String
| MoComposed [MakeOp]
defaultMakeSettings :: Prefs -> MakeSettings
Documentation
constrDepGraph :: [IDEPackage] -> MakeGraphSource
Construct a dependency graph for a package pointing to the packages which depend on the subject package
constrMakeChain :: MakeSettings -> Workspace -> [IDEPackage] -> MakeOp -> MakeOp -> Chain MakeOp IDEPackageSource
Construct a make chain for a package, which is a plan of the build to perform. Consumes settings, the workspace and a list of targets.
doBuildChain :: MakeSettings -> Chain MakeOp IDEPackage -> IDEActionSource
makePackages :: MakeSettings -> [IDEPackage] -> MakeOp -> MakeOp -> WorkspaceActionSource
data MakeSettings Source
Constructors
MakeSettings
msMakeMode :: Bool
msSingleBuildWithoutLinking :: Bool
msSaveAllBeforeBuild :: Bool
msBackgroundBuild :: Bool
msDontInstallLast :: Bool
data MakeOp Source
a make operation
Constructors
MoConfigure
MoBuild
MoInstall
MoClean
MoDocu
MoOther String
MoComposed [MakeOp]
show/hide Instances
defaultMakeSettings :: Prefs -> MakeSettingsSource
Produced by Haddock version 2.6.1