Skip to content

yamadapc/hpack-convert

 
 

Repository files navigation

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

About

hpack-convert: Convert Cabal manifests into hpack's package.yamls

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 98.7%
  • Other 1.3%