Skip to content

Creating a new Haskell Project

Simon Hudon edited this page Nov 12, 2016 · 4 revisions

Check list

Files to Create

  • README.md
    • badges
    • description
  • .travis.yml file
    • if z3 is needed, copy the one from literate-unitb
    • otherwise, use the one from unfoldable
  • appveyor.yml file
    • same as for .travis
  • create cabal file
    • cabal init
    • add a description and synopsis
    • add a repository
    • before committing,
      • call "cabal check"
  • create stack.yaml file
    • call "stack build --haddock --no-haddock-deps" before committing
  • copy travis_long.hs if the build if some libraries take a long time to install
    • see .travis.yml in literate-unitb on how to set it up

Committing

  1. On github, create a new repository
  2. Enable the repository on Travis and AppVeyor
  3. Push your project to github

Clone this wiki locally