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.

Usage

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.

Execution

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
Compile the project. Targets of the compilation are main file (in case of executable) or exposed modules (in case of library).
FullCompile
Compile all hs files found in source directory. It is usefull to compile test sources.
Clean
Clean the directory containing .o and .hi files.
QuickCheck
Launch all QuickCheck properties of the project.
IQuickCheck
Intelligent QuickCheck launch. Only launch necessary properties (beta).
HUnit
Launch all HUnit tests of the project.
IHUnit
Intelligent HUnit launch. Only launch necessary tests (beta).
Quit
Exit the application.

Examples

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

Properties

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
Dependenciesbase (>=4.1 && <5), bytestring (>=0.9.1.5), Cabal (>=1.8.0.6), containers (>=0.3), directory (>=1.0.1.0), filepath (>=1.1), ghc (>=6), ghc-paths (>=0.1), haskeline (>=0.6.2.2), haskell98 (>=1.0), HUnit (>=1.2.2.1), mtl (>=1.0), old-time (>=1.0.0), parsec (>=3.0), QuickCheck (>=2.1.1.1), regex-posix (>=0.94.1), shaker, template-haskell (>=2.4.0.0)
LicenseBSD3
CopyrightCopyright (c) 2010 Anthonin Bonnefoy
AuthorAnthonin Bonnefoy
Maintaineranthonin.bonnefoy@gmail.com
Stabilityalpha
CategoryDevelopment
Home pagehttp://github.com/bonnefoa/Shaker
Bug trackerhttp://github.com/bonnefoa/Shaker/issues
Source repositoryhead: git clone git://github.com/bonnefoa/Shaker.git
this: git clone git://github.com/bonnefoa/Shaker.git(tag 0.3.1)
Executablestest, shaker
Upload dateMon Aug 30 18:11:25 UTC 2010
Uploaded byAnthoninBonnefoy
Downloads677 total (60 in last 30 days)

Modules

Flags

NameDescriptionDefault
testBuild test program.Disabled

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