The shake package

[Tags: bsd3, library, program]

WARNING: Shake has only been lightly tested, and there will be bugs (please report them). The interface is likely to change, although hopefully not significantly. It would be unwise to build a critical production system on top of the current version of Shake.

Shake is a Haskell library for writing build systems - designed as a replacement for make. To use Shake the user writes a Haskell program that imports the Shake library, defines some build rules, and calls shake. Thanks to do notation and infix operators, a simple Shake program is not too dissimilar from a simple Makefile. However, as build systems get more complex, Shake is able to take advantage of the excellent abstraction facilities offered by Haskell and easily support much larger projects.

The Shake library provides all the standard features available in other build systems, including automatic parallelism and minimal rebuilds. Shake provides highly accurate dependency tracking, including seamless support for generated files, and dependencies on system information (i.e. compiler version). Shake will eventually be able to produce profile reports, indicating which files and take longest to build, and providing an analysis of the parallelism.

The theory behind an old version of Shake is described in a video at http://vimeo.com/15465133, and an example is given at the top of Development.Shake. Some further examples are included in the Cabal tarball, under the Examples directory.


Properties

Versions0.0, 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.9.1, 0.10, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.11, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.11.6, 0.11.7, 0.12, 0.13, 0.13.1, 0.13.2, 0.13.3, 0.13.4, 0.14, 0.14.1, 0.14.2
Dependenciesbase (==4.*), binary, bytestring, deepseq (>=1.1 && <1.3), directory, filepath, hashable, old-time, process, random, time, transformers (==0.2.*), unordered-containers
LicenseBSD3
CopyrightNeil Mitchell 2011
AuthorNeil Mitchell <ndmitchell@gmail.com>
MaintainerNeil Mitchell <ndmitchell@gmail.com>
StabilityBeta
CategoryDevelopment
Home pagehttp://community.haskell.org/~ndm/shake/
Source repositoryhead: darcs get http://community.haskell.org/~ndm/darcs/shake/
Executablesshake
UploadedSat Jan 28 17:08:08 UTC 2012 by NeilMitchell
DistributionsDebian:0.13.2, Fedora:0.11.4, NixOS:0.14.2, Stackage:0.14.2
Downloads29611 total (1383 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefault
testprogBuild the test programEnabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees