Add buildProgram rule.
[hadrian.git] / src / Rules / Package.hs
1 module Rules.Package (buildPackage) where
2
3 import Base
4 import Rules.Compile
5 import Rules.Data
6 import Rules.Dependencies
7 import Rules.Documentation
8 import Rules.Generate
9 import Rules.Library
10 import Rules.Program
11 import Rules.Resources
12 import Target
13
14 buildPackage :: Resources -> PartialTarget -> Rules ()
15 buildPackage = mconcat
16 [ buildPackageData
17 , buildPackageDependencies
18 , generatePackageCode
19 , compilePackage
20 , buildPackageLibrary
21 , buildPackageDocumentation
22 , buildProgram ]