Skip to content

damncabbage/haskell-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate

Project boilerplate for Haskell libraries.

Setup & Development

$ git clone [email protected]:damncabbage/haskell-boilerplate.git someproject
$ cd someproject

# ... edit and rename Boilerplate in src/*.hs and test/*.hs ...

$ cabal sandbox init
$ cabal update; cabal install cabal-install
$ cabal configure --enable-tests
$ cabal install --enable-tests
$ ./test.sh props specs   # Once-off test-run
$ ./guard.sh props specs  # To wait for changes before running test builds

If you want to use guard.sh (or tests.sh with notifiations turned on), you'll need fswatch and terminal-notifier, both available on OS X with:

$ brew install fswatch terminal-notifier

About

A boilerplate for a library project quickstart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published