shaker: simple and interactive command-line build tool
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
Name | Description | Default |
---|---|---|
test | Build test program. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- shaker-0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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] |
Tested with | ghc ==6.12.1 |
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) |
Uploaded | by AnthoninBonnefoy at 2010-08-04T06:29:44Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | test, shaker |
Downloads | 8832 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] |