The shaker package

[ Tags: bsd3, development, library, program ] [ Propose Tags ]

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.
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]


Versions 0.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
Dependencies base (>=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) [details]
License BSD3
Copyright Copyright (c) 2010 Anthonin Bonnefoy
Author Anthonin Bonnefoy
Category Development
Home page
Bug tracker
Source repository head: git clone git://
this: git clone git:// 0.2)
Uploaded Wed Aug 4 06:29:44 UTC 2010 by AnthoninBonnefoy
Distributions NixOS:0.5.1
Executables test, shaker
Downloads 2407 total (14 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-29 [all 7 reports]
Hackage Matrix CI



Build test program.


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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for shaker-0.2

[back to package description]
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