A minimal Haskell project.
This project evaluates to Nothing
at the moment.
Maybe
you can turn it into something that's Just spectacular
The guides How to write a Haskell program and Structure of a Haskell project provides some very good instructions for getting a basic Haskell project up and running.
This project (inspired by hnop) aims to turn the above guides into a runnable project that can be forked and used as a base for other Haskell projects.
- Fork this repository.
- Rename your new git repository and clone it.
- Customise and rename references to Nothing in your local checkout:
$ git mv Nothing.cabal my-new-project.cabal
- Modify my-new-project.cabal
- Modify README.md
- Change the LICENSE file to reflect your project license.
- Find and change any mentions of Nothing that you may have missed:
$ git grep Nothing
$ git clone git@github.com:apauley/Nothing.git my-new-project
But don't let GitHub initialise it with any files such as a README, LICENSE or .gitignore
$ cd my-new-project/
$ git remote rm origin
$ git remote add origin git@github.com:apauley/my-new-project.git
$ git commit -a -m 'Customised initial config'
$ git push -u origin master
Needed only once after cloning the repo:
$ cabal sandbox init
$ cabal update
$ cabal install --dependencies-only
$ cabal configure
Build after each code change:
$ cabal build -j --ghc-options=-Werror
$ ./dist/build/Nothing/Nothing