Soares Chen
2da8bd5e74
Revert change to cabal version
2020-05-06 13:38:48 +02:00
Soares Chen
8778dcf2f4
Create Main module for Brittany
2020-04-06 12:03:46 +00:00
Lennart Spitzner
9aad31809f
Merge branch 'release'
2020-03-15 22:55:29 +01:00
Neil Mitchell
231c2f5e94
Permit extra-1.7
2020-03-15 22:52:36 +01:00
Lennart Spitzner
5895f954bd
Remove dependency on neat-interpolation
2020-02-04 16:14:38 +01:00
Lennart Spitzner
f4cff441e2
Merge branch 'release'
2020-02-04 14:12:44 +01:00
Lennart Spitzner
f80e777163
Allow neat-interpolation-0.4.*
2020-02-04 14:11:45 +01:00
Lennart Spitzner
434854f8f3
Merge pull request #259 from eborden/datadecl
...
Data declaration for newtype and records
2019-12-09 22:46:03 +01:00
Lennart Spitzner
172866755c
Start impl. layouting for datatypes ( #12 )
...
Only newtypes work for now; the "interesting" data records
are not touched yet.
Comment insertion not really considered yet; probably needs work.
2019-12-09 11:17:31 -07:00
Lennart Spitzner
f8892d41d4
Bump to 0.12.1.1; Update changelog
2019-12-09 13:38:26 +01:00
Lennart Spitzner
3482f6a36d
Bump semigroups dependency bound
2019-09-29 18:24:13 +02:00
Lennart Spitzner
b656b8cc27
Bump to 0.12.1.0; Update changelog
2019-09-29 18:19:48 +02:00
Lennart Spitzner
a98d643a62
Disable perf test by default via new cabal flag
2019-09-29 14:08:27 +02:00
Lennart Spitzner
91d6e18aba
Adapt to ghc-8.8 (deps are not ready though)
2019-09-02 17:04:44 +02:00
Lennart Spitzner
b2d8a1ed51
Bump to 0.12.0.0, Update copyright, readme, changelog
2019-06-17 10:54:33 +02:00
Lennart Spitzner
b95bc09a9d
Bump upper bound to hspec<2.8
2019-06-12 12:58:08 +02:00
Lennart Spitzner
3e1938aa7f
Merge branch 'master' into stack-13.14-compat
...
# Conflicts:
# brittany.cabal
2019-06-05 22:54:18 +02:00
Alan Zimmerman
d161648f24
Allow ghc-exactprint-0.6.1
2019-06-02 22:53:00 +02:00
Tej Chajed
ffc1e6918c
Add stack configuration for GHC 8.6
2019-05-31 17:00:38 -04:00
Lennart Spitzner
784e4d0aed
Fix prelude.inc handling in .cabal to make new-install work
...
Hopefully fixes both #162 and #200 .
2018-11-30 00:18:54 +01:00
Lennart Spitzner
34735e27ef
Add compat with GHC-8.6 API
2018-11-04 22:14:00 +01:00
Lennart Spitzner
11dc30fbe1
Fix travis setup once more
2018-10-13 23:57:37 +02:00
Sergey Vinokurov
9d7cecaa92
Run tests in prallel
2018-09-17 23:54:56 +01:00
Lennart Spitzner
393258036f
Bump bounds to ghc-exactprint-0.5.8 to include pkg-env innoculation
2018-09-13 22:09:12 +02:00
Alan Zimmerman
989364093c
Allow ghc-exactprint 0.5.7.1
2018-09-12 22:01:43 +02:00
Adam Bergmark
5ed4612107
Allow aeson 1.4.*
2018-06-18 03:14:39 +02:00
Lennart Spitzner
f5b5fe9f74
Bump aeson upper bound
2018-05-10 17:52:15 +02:00
Lennart Spitzner
03fd81f851
Update Readme and copyright dates
...
[ci skip]
2018-05-01 17:13:45 +02:00
Lennart Spitzner
031df539b3
Prepare release (bump to 0.11.0.0, changelog)
2018-05-01 17:09:31 +02:00
Lennart Spitzner
a237e591b2
Implement `--obfuscate`
...
Support replacing all (non-keyword) identifiers with
randomly generated characters
2018-04-24 00:47:50 +02:00
Lennart Spitzner
280b70f6bd
Undo adding -j ghc-option in brittany.cabal
2018-04-19 18:08:07 +02:00
Lennart Spitzner
1fc007591c
Merge branch 'master' into inlineconfig
...
# Conflicts:
# src/Language/Haskell/Brittany/Internal.hs
2018-04-17 20:05:33 +02:00
Lennart Spitzner
e559a2cbf7
Implement inline configuration
...
e.g. "-- brittany --indent=4"
respects the following comment forms as input:
source comment affected target
======================================================
"-- brittany CONFIG" whole module
"-- brittany-next-binding CONFIG" next binding
"-- brittany-disable-next-binding" next binding
"-- brittany @ myExampleFunc CONFIG" `myExampleFunc`
multiline-comments are supported too, although
the specification must still be a single line. E.g.
"{- brittany --columns 50 -}"
CONFIG is either:
1) one or more flags in the form of what brittany accepts
on the commandline, e.g. "-- columns 50", or
2) one or more specifications in the form of what brittany
accepts in its config files for the layouting config
(a one-line yaml document), e.g. "{ lconfig_cols: 50 }"
see #30
2018-04-17 20:04:40 +02:00
Lennart Spitzner
10e1c19788
Add support for ghc-8.4
2018-04-17 17:50:41 +02:00
Lennart Spitzner
3785d15c2a
Bump some upper bounds, Remove unneeded dep
2018-04-17 16:53:33 +02:00
Lennart Spitzner
ae162403ae
Support multistate-0.9 (ghc-8.4 preparation)
2018-04-13 22:13:15 +02:00
Lennart Spitzner
21ef8b296c
Adapt for czipwith-1.0.1.0
2018-04-05 21:06:44 +02:00
Sergey Vinokurov
7ffa58976f
Clean up duplicate ghc-options from cabal file
2018-04-03 22:55:57 +01:00
Lennart Spitzner
b219a23684
Fix warning about brittany.cabal (cabal-version-specification)
2018-04-02 16:35:28 +02:00
Lennart Spitzner
3b20d0275e
Bump to 0.10.0.0, Add Changelog
2018-03-23 19:32:30 +01:00
Lennart Spitzner
f1536b8966
Merge pull request #83/#124 from sniperrifle2004/import
2018-03-21 01:06:26 +01:00
Lennart Spitzner
41a60ce60f
Merge branch 'master' into import
2018-03-11 17:43:16 +01:00
alexeyraga
83b39de3d4
Expose readConfigs
2018-03-07 21:56:52 +11:00
Lennart Spitzner
bac69ba54f
Bump to 0.9.0.1, Add changelog
2018-02-14 17:18:22 +01:00
Lennart Spitzner
81928ea597
Switch to ghc-exactprint-0.5.6.0, Remove code duplication
2018-02-14 01:14:24 +01:00
Lennart Spitzner
8430b74b1a
Switch to butcher-1.3, Improve help layout, fixes #103
2018-02-13 20:05:48 +01:00
Lennart Spitzner
0f3ee76944
Fix shebang handling with stdin input
...
Fixes #92
probably should update upstream (ghc-exactprint)
2017-12-27 23:26:18 +01:00
sniperrifle2004
ee9abff9e8
Add import and module support
2017-12-17 12:51:04 +01:00
Lennart Spitzner
4ded834a97
Clean-up cabal file: Remove development flag
2017-12-08 21:14:35 +01:00
Lennart Spitzner
16d5116193
Bump to 0.9.0.0
2017-12-08 21:11:39 +01:00