heroku-buildpack-ghc icon indicating copy to clipboard operation
heroku-buildpack-ghc copied to clipboard

Possibly use a haskell shell for the buildpack?

Open rehno-lindeque opened this issue 11 years ago • 5 comments

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

rehno-lindeque avatar Feb 23 '14 00:02 rehno-lindeque

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 :)

rehno-lindeque avatar Feb 23 '14 21:02 rehno-lindeque

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.

begriffs avatar Feb 24 '14 01:02 begriffs

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.

jsl avatar Feb 24 '14 14:02 jsl

Reopening this issue for later.

begriffs avatar Feb 24 '14 16:02 begriffs

Consider turtle as an alternative to Shelly, too.

int-index avatar Apr 20 '15 17:04 int-index