Skip to content

ktvoelker/robin

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Vim integration

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

Alternatives

Similar functionality is built in to Stack:

stack build --file-watch

About

A build daemon for Haskell development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published