git.iko.soy/typeable/pandoc
on master help sign in
pandoc.cabal: repeat ghc-options in all stanzas.
commit4b6a76c19668faf08044d264728df2148d48d0cd authorJohn MacFarlane <jgm@berkeley.edu> dateMon 23 Sep 2019, 09:49 (7 years ago) parent5682184
1 file changed+63−4
pandoc.cabal+63−4
pandoc.cabal+63−4
@@ -630,7 +630,6 @@ executable pandoc
630630 hs-source-dirs: prelude
631631 other-modules: Prelude
632632 build-depends: base-compat >= 0.9
633− ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
634633 if flag(static)
635634 ld-options: -static
636635 default-language: Haskell2010
@@ -639,6 +638,18 @@ executable pandoc
639638 main-is: pandoc.hs
640639 buildable: True
641640 other-modules: Paths_pandoc
641+ ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
642+ -Wall -fno-warn-unused-do-bind
643+ -Wincomplete-record-updates
644+ -Wnoncanonical-monad-instances
645+ -Wnoncanonical-monadfail-instances
646+ if impl(ghc >= 8.2)
647+ ghc-options: -Wcpp-undef
648+ if impl(ghc >= 8.4)
649+ ghc-options: -Wincomplete-uni-patterns
650+ -Widentities
651+ -Werror=missing-home-modules
652+ -fhide-source-paths
642653
643654executable trypandoc
644655 main-is: trypandoc.hs
@@ -655,6 +666,18 @@ executable trypandoc
655666 hs-source-dirs: prelude
656667 other-modules: Prelude
657668 build-depends: base-compat >= 0.9
669+ ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
670+ -Wall -fno-warn-unused-do-bind
671+ -Wincomplete-record-updates
672+ -Wnoncanonical-monad-instances
673+ -Wnoncanonical-monadfail-instances
674+ if impl(ghc >= 8.2)
675+ ghc-options: -Wcpp-undef
676+ if impl(ghc >= 8.4)
677+ ghc-options: -Wincomplete-uni-patterns
678+ -Widentities
679+ -Werror=missing-home-modules
680+ -fhide-source-paths
658681
659682benchmark weigh-pandoc
660683 type: exitcode-stdio-1.0
@@ -669,9 +692,21 @@ benchmark weigh-pandoc
669692 hs-source-dirs: prelude
670693 other-modules: Prelude
671694 build-depends: base-compat >= 0.9
672− ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
673695 default-language: Haskell2010
674696 other-extensions: NoImplicitPrelude
697+ ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
698+ -Wall -fno-warn-unused-do-bind
699+ -Wincomplete-record-updates
700+ -Wnoncanonical-monad-instances
701+ -Wnoncanonical-monadfail-instances
702+ if impl(ghc >= 8.2)
703+ ghc-options: -Wcpp-undef
704+ if impl(ghc >= 8.4)
705+ ghc-options: -Wincomplete-uni-patterns
706+ -Widentities
707+ -Werror=missing-home-modules
708+ -fhide-source-paths
709+
675710
676711test-suite test-pandoc
677712 type: exitcode-stdio-1.0
@@ -759,9 +794,21 @@ test-suite test-pandoc
759794 Tests.Writers.OOXML
760795 if os(windows)
761796 cpp-options: -D_WINDOWS
762− ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
763797 default-language: Haskell2010
764798 other-extensions: NoImplicitPrelude
799+ ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
800+ -Wall -fno-warn-unused-do-bind
801+ -Wincomplete-record-updates
802+ -Wnoncanonical-monad-instances
803+ -Wnoncanonical-monadfail-instances
804+ if impl(ghc >= 8.2)
805+ ghc-options: -Wcpp-undef
806+ if impl(ghc >= 8.4)
807+ ghc-options: -Wincomplete-uni-patterns
808+ -Widentities
809+ -Werror=missing-home-modules
810+ -fhide-source-paths
811+
765812
766813benchmark benchmark-pandoc
767814 type: exitcode-stdio-1.0
@@ -777,6 +824,18 @@ benchmark benchmark-pandoc
777824 hs-source-dirs: prelude
778825 other-modules: Prelude
779826 build-depends: base-compat >= 0.9
780− ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
781827 default-language: Haskell2010
782828 other-extensions: NoImplicitPrelude
829+ ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
830+ -Wall -fno-warn-unused-do-bind
831+ -Wincomplete-record-updates
832+ -Wnoncanonical-monad-instances
833+ -Wnoncanonical-monadfail-instances
834+ if impl(ghc >= 8.2)
835+ ghc-options: -Wcpp-undef
836+ if impl(ghc >= 8.4)
837+ ghc-options: -Wincomplete-uni-patterns
838+ -Widentities
839+ -Werror=missing-home-modules
840+ -fhide-source-paths
841+