yamadapc / hpack-convert

hpack-convert: Convert Cabal manifests into hpack's package.yamls
http://hpack-convert.herokuapp.com/
MIT License
51 stars 13 forks source link

hpack-convert

Build Status


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