Skip to content

Commit 320538b

Browse files
authored
Enable -O2 for prettyprinter[-ansi-terminal] (#144)
1 parent 111ce37 commit 320538b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

prettyprinter-ansi-terminal/prettyprinter-ansi-terminal.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ source-repository head
2828
library
2929
exposed-modules: Data.Text.Prettyprint.Doc.Render.Terminal
3030
, Data.Text.Prettyprint.Doc.Render.Terminal.Internal
31-
ghc-options: -Wall
31+
ghc-options: -Wall -O2
3232
hs-source-dirs: src
3333
include-dirs: misc
3434
default-language: Haskell2010

prettyprinter/prettyprinter.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ library
4444
-- Deprecated
4545
, Data.Text.Prettyprint.Doc.Render.ShowS
4646

47-
ghc-options: -Wall
47+
ghc-options: -Wall -O2
4848
hs-source-dirs: src
4949
include-dirs: misc
5050
default-language: Haskell2010

0 commit comments

Comments
 (0)