lspitzner / brittany

haskell source code formatter
GNU Affero General Public License v3.0
690 stars 72 forks source link

Add stack configuration for GHC 8.6 #222

Closed tchajed closed 5 years ago

tchajed commented 5 years ago

Here's a stack configuration compatible with Stackage LTS 13.15.

This duplicates some of the features of #210 but also adds a stack configuration and the Travis configuration.

jm4games commented 5 years ago

Probably want to bump this to LTS 13.15, seeing it has bug fixes. +1 to needing this.

tchajed commented 5 years ago

Probably want to bump this to LTS 13.15, seeing it has bug fixes. +1 to needing this.

Done. I didn't change the branch name to avoid moving to a new PR, so it'll just be inaccurate.

tchajed commented 5 years ago

Could you take a look at this PR @lspitzner? It would be nice to get brittany back on stackage.

For me the use case is that lassik/emacs-format-all-the-code uses brittany for Haskell, and Doom Emacs uses format-all-the-code for its auto-format support, so it'd be nice to install brittany using stack install brittany on the latest Stackage LTS.

telser commented 5 years ago

:+1: For this getting resolved, please!

andys8 commented 5 years ago

Docs have to be updated, too: https://github.com/lspitzner/brittany#other-usage-notes

image

lspitzner commented 5 years ago

@andys8 good point, thanks. I have prepared an updated readme for the upcoming 0.12 release.