hpack-convert
hpack-convert copied to clipboard
hpack-convert: Convert Cabal manifests into hpack's package.yamls
hpack-convert
Convert Cabal manifests into hpack's package.yamls.
Installing from source
git clone https://github.com/yamadapc/hpack-convert
cd hpack-convert
stack install
Download a pre-built binary
Usage
# Inside a directory with a .cabal file, run:
hpack-convert
# This will convert your .cabal file into a `package.yaml`
Using the web-service without installing anything
There's a simple web-service running hpack-convert
on a free Heroku dyno, if
it's awake, this command should convert your cabal file:
curl -F "cabalfile=@./`echo *.cabal`" https://hpack-convert.herokuapp.com
Source-code at https://github.com/yamadapc/hpack-convert-api
License
MIT