[commit: ghc] master: Cabalify all the things (3bed4aa)

git at git.haskell.org git at git.haskell.org
Wed Nov 15 20:06:01 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3bed4aa703c41ccbd310496420fbb71afdfd99e7/ghc

>---------------------------------------------------------------

commit 3bed4aa703c41ccbd310496420fbb71afdfd99e7
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Wed Nov 15 11:41:34 2017 -0500

    Cabalify all the things
    
    Adding cabal files to `unlit`, `touchy` and `hp2ps`, allows us to treat
    them uniformally across the build system. In particular Hadrian will use
    these.
    
    Reviewers: bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D4192


>---------------------------------------------------------------

3bed4aa703c41ccbd310496420fbb71afdfd99e7
 utils/hp2ps/hp2ps.cabal   | 22 ++++++++++++++++++++++
 utils/touchy/touchy.cabal | 16 ++++++++++++++++
 utils/unlit/unlit.cabal   | 16 ++++++++++++++++
 3 files changed, 54 insertions(+)

diff --git a/utils/hp2ps/hp2ps.cabal b/utils/hp2ps/hp2ps.cabal
new file mode 100644
index 0000000..ba5db04
--- /dev/null
+++ b/utils/hp2ps/hp2ps.cabal
@@ -0,0 +1,22 @@
+cabal-version: >=2.1
+Name: hp2ps
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: Heap Profile to PostScript converter
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+    Default-Language: Haskell2010
+    Main-Is: Main.c
+    extra-libraries: m
+    C-Sources:
+       AreaBelow.c Curves.c Error.c Main.c
+       Reorder.c TopTwenty.c AuxFile.c Deviation.c
+       HpFile.c Marks.c Scale.c TraceElement.c
+       Axes.c Dimensions.c Key.c PsFile.c Shade.c
+       Utilities.c
diff --git a/utils/touchy/touchy.cabal b/utils/touchy/touchy.cabal
new file mode 100644
index 0000000..ab025e4
--- /dev/null
+++ b/utils/touchy/touchy.cabal
@@ -0,0 +1,16 @@
+cabal-version: >=2.1
+Name: touchy
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: @touch@ for windows
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+    Default-Language: Haskell2010
+    Main-Is: touchy.c
+    C-Sources: touchy.c
diff --git a/utils/unlit/unlit.cabal b/utils/unlit/unlit.cabal
new file mode 100644
index 0000000..e15a075
--- /dev/null
+++ b/utils/unlit/unlit.cabal
@@ -0,0 +1,16 @@
+cabal-version: >=2.1
+Name: unlit
+Version: 0.1
+Copyright: XXX
+License: BSD3
+Author: XXX
+Maintainer: XXX
+Synopsis: Literate program filter
+Description: XXX
+Category: Development
+build-type: Simple
+
+Executable unlit
+    Default-Language: Haskell2010
+    Main-Is: unlit.c
+    C-Sources: unlit.c



More information about the ghc-commits mailing list