The shaker package

[Tags: bsd3, library, program]

Shaker is a build tool which allow to compile an haskell project with some features like continuous action similar to SBT.

For the moment, all configuration are made via cabal. Shaker will read cabal configuration to discover source directories, compilation options and targets to compile.


The cabal configuration file should be generated beforehand with runhaskell Setup.hs configure. If you change your cabal configuration, you need to recreate the configuration file.


In the root of your haskell project, launch shaker. An interactive prompt will allow you to execute differents action.

Action execution

Simple Execution
An action can be launched normally, by entering the action name
Multiple action execution
You can specify multiple action to execute simply by separating action by spaces.
Continuous Action
A continuous action will execute the action when a changement on files has been detected. Every action are elligible to continuous action, you simply need to prefix them with ~

Available actions

Compile the project. Targets of the compilation are main file (in case of executable) or exposed modules (in case of library).
Compile all hs files found in source directory. It is usefull to compile test sources.
Clean the directory containing .o and .hi files.
Launch all QuickCheck properties of the project.
Launch all HUnit tests of the project.
Exit the application.


% Compile
Simply compile the project
% Clean Compile
Clean and compile the project
% ~Compile
Switch to continuous mode and will compile the project when sources are modified.
% ~Clean Compile
Switch to continuous mode and will clean and compile the project when sources are modified.

[Skip to ReadMe]


Versions0.1, 0.2, 0.2.1, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.5.1
Change logNone available
Dependenciesbase (>=4.1 && <5), bytestring (>=, Cabal (>=, containers (>=0.3), directory (>=, filepath (>=1.1), ghc (>=6), ghc-paths (>=0.1), haskeline (>=, haskell98 (>=1.0), HUnit (>=, mtl (>=1.0), old-time (>=1.0.0), parsec (>=3.0), QuickCheck (>=, regex-posix (>=0.94.1), template-haskell (>= [details]
CopyrightCopyright (c) 2010 Anthonin Bonnefoy
AuthorAnthonin Bonnefoy
Home page
Bug tracker
Source repositoryhead: git clone git://
this: git clone git:// 0.3)
Executablestest, shaker
UploadedWed Aug 11 19:31:58 UTC 2010 by AnthoninBonnefoy
Downloads1583 total (80 in last 30 days)
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-06-08 [all 2 reports]



testBuild test program.DisabledAutomatic

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


Maintainers' corner

For package maintainers and hackage trustees

Readme for shaker-0.3

Shaker is a build tool which allow to compile and launch test on haskell project with some features like continuous action similar to SBT.

The package is uploaded in hackage -

To install shaker, either use cabal install - cabal update && cabal install shaker 
Or build shaker from sources - runhaskell Setup.hs configure && runhaskell Setup.hs install