The robin package

[ Tags: development, gpl, program ] [ Propose Tags ]

Robin is a daemon for Haskell developers. It runs a build whenever a source file changes. Cabal, Stack, and custom builds are all supported.


[Skip to Readme]

Properties

Versions 0.1.0.0
Dependencies base (==4.*), Cabal, directory, filepath, fsnotify, hdaemonize, lens, lifted-base, monad-control, mtl, process, resourcet, text, time, unix [details]
License GPL-3
Copyright (c) 2013-2015 Karl Voelker
Author Karl Voelker
Maintainer robin@karlv.net
Category Development
Home page https://www.github.com/ktvoelker/robin
Bug tracker https://www.github.com/ktvoelker/robin/issues
Source repository head: git clone https://github.com/ktvoelker/robin.git
Uploaded Thu Sep 10 04:34:20 UTC 2015 by KarlVoelker
Distributions NixOS:0.1.0.0
Executables robin
Downloads 154 total (6 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-12-01 [all 6 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for robin-0.1.0.0

[back to package description]

Robin

Robin is a build daemon for Haskell development.

Usage

robin (start | stop | build | watch | debug)

This daemon rebuilds a cabalized Haskell project whenever a source file changes. It runs one of the following commands:

  • ./robin.sh, if that file exists, or
  • stack build, if stack.yaml exists, or
  • cabal build, otherwise.

Commands

  • start - if the current project doesn't already have a daemon, start one
  • stop - stop the daemon for the current project
  • build - show the output of the last build, or if a build is in progress, wait for completion and then show its output
  • watch - take over the console, always showing the latest build output
  • debug - like start, but doesn't daemonize

The default command is build.

Note: the current project is assumed to be the root of the git working copy which contains the current directory. definition.

Vim integration

echo 'setlocal makeprg=robin' >> ~/.vim/ftplugin/haskell.vim