shaker: simple and interactive command-line build tool

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

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

[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
test

Build test program.

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 (>=0.9.1.5), Cabal (>=1.8.0.2), containers (>=0.3), directory (>=1.0.1.0), filepath (>=1.1), ghc (>=6), ghc-paths (>=0.1), haskeline (>=0.6.0.0), 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) [details]
License BSD-3-Clause
Copyright Copyright (c) 2010 Anthonin Bonnefoy
Author Anthonin Bonnefoy
Maintainer anthonin.bonnefoy@gmail.com
Category Development
Home page http://github.com/bonnefoa/Shaker
Bug tracker http://github.com/bonnefoa/Shaker/issues
Source repo head: git clone git://github.com/bonnefoa/Shaker.git
this: git clone git://github.com/bonnefoa/Shaker.git(tag 0.2.1)
Uploaded by AnthoninBonnefoy at 2010-08-04T16:59:15Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables test, shaker
Downloads 8677 total (26 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-29 [all 7 reports]

Readme for shaker-0.2.1

[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 - http://hackage.haskell.org/package/shaker

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