heroku-buildpack-ghc
heroku-buildpack-ghc copied to clipboard
Possibly use a haskell shell for the buildpack?
Just a quick idea to throw in the mix, might be interesting to use something like Shelly for buildpack scripting - extra dependencies though.
- http://www.yesodweb.com/blog/2012/03/shelly-for-shell-scripts
Actually it's probably a silly idea since it's more reliable to just follow conventions from other buildpacks. Let's forget I said this :)
Once the buildpack matures and we have some tests in place I think it would be fun to try Shelly. We could make bin/compile
an executable generated from bin/compile.hs
which uses Shelly. It would probably make the script a lot prettier.
I like the idea of Shelly as well. FWIW, though, I believe I saw on the Heroku buildpack docs somewhere that the scripts should be in sh or bash to be compatible with future changes that may be made at Heroku.
Reopening this issue for later.
Consider turtle as an alternative to Shelly, too.