Pavan Rikhi
6659d8ca0d
Merge fcd38d8ad4
into 434f9f8e49
2021-07-10 00:19:00 +00:00
Pavan Rikhi
fcd38d8ad4
Add PrettyPrinter That Returns Both Errors & Text
...
Add a new `pPrintText` function to the Brittany.Main module that behaves
similarly to the `coreIO` function, but instead only take a config &
input string & always returns a list of errors & either the unaltered or
the pretty printed text.
This new function will always check the generated text & ignores all
tracing and printing to stdout.
This a useful function for utility programs, like haskell-language-server,
that want to feed text to brittany & manipulate the output.
2021-07-09 20:06:02 -04:00
Taylor Fausak
434f9f8e49
Version 0.13.1.2
2021-05-18 08:34:18 -04:00
Taylor Fausak
50f053cc2c
Update ChangeLog.md
2021-05-18 08:33:51 -04:00
Taylor Fausak
de6776b08c
Merge pull request #347 from felixonmars/patch-1
...
Allow hspec 2.8
2021-05-15 07:32:33 -04:00
Felix Yan
7a7ea6c40d
Allow hspec 2.8
...
All tests are passing.
2021-05-15 06:07:49 +08:00
Taylor Fausak
4d064db674
Version 0.13.1.1
2021-02-26 08:53:28 -05:00
Taylor Fausak
1a9863160b
Update ChangeLog.md
2021-02-26 08:52:58 -05:00
Taylor Fausak
3175a7c2b3
Merge pull request #343 from maralorn/patch-1
...
Update ghc-exactprint upper bound
2021-02-26 08:50:41 -05:00
maralorn
256a30cdf8
Update ghc-exactprint upper bound
2021-02-26 14:29:00 +01:00
Taylor Fausak
6b4e534840
Merge pull request #334 from ahstro/patch-1
...
Update ArchLinux installation instructions
2021-01-02 07:58:02 -05:00
Anton Strömkvist
9658653ab9
Update ArchLinux installation instructions
...
Brittany is in the community repo now, and no longer requires AUR
2021-01-02 09:16:57 +01:00
Taylor Fausak
b1bfef5b8a
Merge pull request #333 from felixonmars/patch-1
...
Allow random 1.2
2020-12-15 13:21:00 -05:00
Felix Yan
e8c4855cd3
Allow random 1.2
...
Builds fine and all tests pass here.
2020-12-16 01:51:33 +08:00
Taylor Fausak
a13ad1b9da
Version 0.13.1.0
2020-12-11 11:40:48 -05:00
Taylor Fausak
cf48251c76
Merge pull request #331 from lspitzner/remove-travis-ci
...
Remove Travis CI
2020-12-11 11:35:03 -05:00
Taylor Fausak
8d4e03c53e
Remove Travis CI
2020-12-11 10:47:25 -05:00
Taylor Fausak
9e53988b1d
Merge pull request #330 from expipiplus1/imports-sorted
...
Sorted imports 2
2020-12-11 10:44:32 -05:00
Taylor Fausak
d7083e78bd
Merge pull request #329 from expipiplus1/joe-nix
...
Simplify Nix expressions
2020-12-11 08:08:16 -05:00
Joe Hermaszewski
8a88e10625
Drop CPP for no-longer-supported GHC versions
2020-12-11 17:08:57 +08:00
Joe Hermaszewski
0b0c6d65ca
Simplify Nix expressions
...
This uses `developPackage` from `nixpkgs` to generate the derivation
Also add CI for nix build
2020-12-11 17:03:10 +08:00
Taylor Fausak
1b74b4274c
Version 0.13.0.0
2020-12-09 21:56:28 -05:00
Taylor Fausak
6346e2026a
Merge pull request #324 from lspitzner/gh-269-ghc-8.10
...
Support GHC 8.10
2020-12-09 21:50:24 -05:00
Taylor Fausak
6453e218ed
Publish from GHC 8.10.2
2020-12-09 21:30:58 -05:00
Taylor Fausak
b34210b739
Update Stack configurations
2020-12-09 21:30:27 -05:00
Taylor Fausak
0a710ab271
Test against 8.10 by default
2020-11-23 08:08:08 -05:00
Taylor Fausak
c4b6a81b31
List 8.10 support
2020-11-23 08:07:21 -05:00
Joe Hermaszewski
9efed95d50
Add tests for import sorting
2020-11-20 23:03:59 +08:00
Joe Hermaszewski
f67e72e82c
Merge remote-tracking branch 'origin/gh-269-ghc-8.10' into imports-sorted
2020-11-20 22:20:52 +08:00
Joe Hermaszewski
fc5b1429f4
Merge branch 'gh-269-ghc-8.10' into imports-sorted
2020-11-20 22:18:46 +08:00
Taylor Fausak
d00387d156
Remove broken test case
2020-11-20 08:53:08 -05:00
Taylor Fausak
71e7f52014
Remove broken test case
2020-11-20 08:52:28 -05:00
Lennart Spitzner
1e5b8ada4e
Fix ghc version compat
2020-11-19 09:00:45 +08:00
Lennart Spitzner
93ea6542cc
Fix existing tests for new import layouter behaviour
2020-11-19 09:00:45 +08:00
Lennart Spitzner
eb7a4811fd
Implement sorting of import statements
2020-11-19 09:00:45 +08:00
Lennart Spitzner
5a65ed2356
Comment out / Explain TODO on unused code
2020-11-19 09:00:45 +08:00
Lennart Spitzner
614bf3424d
Minor refactoring
2020-11-19 09:00:45 +08:00
Lennart Spitzner
63de13b0b4
Fix misworded comment
2020-11-19 09:00:45 +08:00
Lennart Spitzner
c6ad57e330
Start implementing sort/uniq on imports/exports
2020-11-19 09:00:45 +08:00
Taylor Fausak
7dedb0c17d
Test against GHC 8.10
2020-11-15 12:55:50 -05:00
Taylor Fausak
e36d9bc465
Drop support for GHC 8.4
2020-11-15 12:55:50 -05:00
Taylor Fausak
259c949211
Drop support for GHC 8.2
2020-11-15 12:55:50 -05:00
Taylor Fausak
096c438b23
Drop support for GHC 8.0
2020-11-15 12:55:50 -05:00
Taylor Fausak
23dace16ed
Don't fail fast
2020-11-15 12:55:50 -05:00
Taylor Fausak
045c387ff4
Remove unnecessary configuration
...
The latest revision of data-tree-print allows base 4.14.
2020-11-15 12:55:50 -05:00
Taylor Fausak
cf3bc5daf4
Allow strict 0.4
2020-11-15 12:55:50 -05:00
Luke Lau
1e118a44ca
Fix build on GHC 8.8 and below
2020-11-15 12:55:50 -05:00
Ximin Luo
adb642353d
more GHC 8.10.1 fixes
2020-11-15 12:55:50 -05:00
Javier Neira
9913b45086
Update cabal.project
...
Only data-tree-print is needed now
Co-authored-by: Luke Lau <luke_lau@icloud.com>
2020-11-15 12:55:50 -05:00
jneira
b69a8f983c
Adapt to new GHC modules organization
2020-11-15 12:55:50 -05:00