mirror of
https://github.com/sol/hpack.git
synced 2024-10-04 11:47:15 +03:00
hpack: A modern format for Haskell packages
driver | ||
src | ||
test | ||
.ghci | ||
.gitignore | ||
.travis.yml | ||
hpack.cabal | ||
LICENSE | ||
package.yaml | ||
README.md | ||
Setup.lhs |
hpack: An alternative format for Haskell packages
Examples
- Given this package.yaml running
hpack
will generate hpack.cabal - Given this package.yaml running
hpack
will generate getopt-generics.cabal - Given this package.yaml running
hpack
will generate sensei.cabal - Given this package.yaml running
hpack
will generate base-orphans.cabal
Vim integration
To run hpack
automatically on modifications to package.yaml
add the
following to your ~/.vimrc
:
autocmd BufWritePost package.yaml silent !hpack