[go: up one dir, main page]

Skip to content

A template project using Haskell, Stack, Cabal, Tasty, HUnit, Travis, Haddock.

License

Notifications You must be signed in to change notification settings

PHPirates/haskell-template-project

Repository files navigation

https://travis-ci.com/PHPirates/haskell-template-project.svg?branch=master https://coveralls.io/repos/github/PHPirates/haskell-template-project/badge.svg?branch=master

Uses:

  • Haskell, a functional programming language
  • Stack, a build tool which includes dependency and test management
  • Cabal, a build system used by Stack
  • Tasty, a test framework
  • HUnit, a test runner which can be configured by Tasty
  • Travis, a continuous integration service which can build Haskell projects which use Stack
  • Haddock, a tool for generating documentation
  • Coveralls, an online service which shows coverage statistics
  • SHC, Stack HPC Coveralls is a Stack integration which uploads data to Coveralls
  • Intellij-Haskell, which allows to run Haskell and all of the above in IntelliJ. Not required to run this template project.

Instructions to install Haskell and the IntelliJ Haskell plugin at StackOverflow. The test framework Tasty is used, because it seems more recently maintained than 'test-framework'. Another option could have been Hspec. Tasty includes HUnit, made by Hspec.

"Tasty lets you combine your unit tests, golden tests, QuickCheck/SmallCheck properties, and any other types of tests into a single test suite."

Updating dependencies

Check Stackage to see what the latest resolver is, and change that in stack.yml.

About

A template project using Haskell, Stack, Cabal, Tasty, HUnit, Travis, Haddock.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published