Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

jml/haskell-cli-template

main
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
 
 
 
 
 
 
 
 
 
 

haskell-cli-template

Circle CI

A cookiecutter template for command-line scripts.

My goal is to reduce friction for people writing Haskell command-line tools.

Usage

$ pip install --user cookiecutter
$ cookiecutter gh:jml/haskell-cli-template

Once the template is created, you can build things with stack or use the provided Makefile.

Choices

This cookiecutter project makes a few opinionated decisions:

  • GHC 8.0 only
  • Built with Stack
  • Uses package.yaml (from hpack) to configure dependencies etc.
  • Protolude as the Prelude
  • The hackage name is the repo name is the project name is the executable name
  • Uses CircleCI as its default CI tool
  • Enforces hindent-formatted code in CI

Notes

Note that the Cabal file is not checked in to this cookiecutter template.

Uses Johan Tibbe's style guide, enforced by hindent

The cookiecutter project is available under the Apache 2.0 license, but it defaults to creating command-line tools published under the GPL 3 license.

About

Cookiecutter template for Haskell CLI programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published