summaryrefslogtreecommitdiff
path: root/utils/check-ppr/check-ppr.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'utils/check-ppr/check-ppr.cabal')
-rw-r--r--utils/check-ppr/check-ppr.cabal32
1 files changed, 32 insertions, 0 deletions
diff --git a/utils/check-ppr/check-ppr.cabal b/utils/check-ppr/check-ppr.cabal
new file mode 100644
index 0000000000..96863e58fa
--- /dev/null
+++ b/utils/check-ppr/check-ppr.cabal
@@ -0,0 +1,32 @@
+Name: check-ppr
+Version: 0.1
+Copyright: XXX
+License: BSD3
+-- XXX License-File: LICENSE
+Author: XXX
+Maintainer: XXX
+Synopsis: A utilities for checking the consistency of GHC's pretty printer
+Description:
+ This utility is used to check the consistency of the GHC pretty printer, by
+ parsing a file, pretty printing it, and then re-parsing the pretty printed
+ version. See @utils/check-ppr/README@ in GHC's source distribution for
+ details.
+Category: Development
+build-type: Simple
+cabal-version: >=1.10
+
+Executable check-ppr
+ Default-Language: Haskell2010
+
+ Main-Is: Main.hs
+
+ Ghc-Options: -Wall
+
+ Build-Depends: base >= 4 && < 5,
+ bytestring,
+ containers,
+ -- Cabal >= 1.25 && <1.27,
+ Cabal >= 1.24 && <1.27,
+ directory,
+ filepath,
+ ghc