include example
[prof2pretty:prof2pretty.git] / prof2pretty.cabal
1 name:                prof2pretty
2 version:             0.1.0.0
3 synopsis:            generate pretty source from time/allocation profiles
4 description:
5   prof2pretty is an enhanced rewrite of visual-prof that works with
6   recent GHC RTS.  sccpragmabomb adds SCC pragmas encoding source
7   location.  prof2pretty extracts those SCCs from the profiling output
8   to annotate the sources using HTML + CSS + JavaScript.
9   .
10   Usage:
11   .
12     cd example
13     ghc -prof -F -pgmF=sccpragmabomb test.hs
14     cd ..
15     ./example/test +RTS -P -RTS 31416
16     prof2pretty --standalone --source=example/ test.prof
17     sensible-browser test.prof.html
18
19 homepage:            https://gitorious.org/prof2pretty
20 license:             BSD3
21 license-file:        LICENSE
22 author:              Claude Heiland-Allen
23 maintainer:          claude@mathr.co.uk
24 category:            Development, Profiling
25 build-type:          Simple
26 cabal-version:       >=1.8
27
28 extra-source-files:
29   example/test.hs
30
31 data-dir: data
32 data-files:
33   prof2pretty.js
34   prof2pretty.css
35   jquery-1.7.2.min.js
36   jquery-ui-1.8.21.custom.min.js
37   jquery-ui-1.8.21.custom.css
38
39 executable prof2pretty
40   hs-source-dirs: src
41   main-is: prof2pretty.hs
42   other-modules: Paths_prof2pretty
43   build-depends:
44     base >= 4 && < 5,
45     containers,
46     filepath,
47     semigroups,
48     zenc
49   ghc-options: -Wall
50
51 executable sccpragmabomb
52   hs-source-dirs: src
53   main-is: sccpragmabomb.hs
54   build-depends:
55     base >= 4 && < 5,
56     haskell-src-exts,
57     uniplate,
58     zenc
59   ghc-options: -Wall
60
61 source-repository head
62   type:                git
63   location:            git://gitorious.org/prof2pretty/prof2pretty.git
64
65 source-repository this
66   type:                git
67   location:            git://gitorious.org/prof2pretty/prof2pretty.git
68   tag:                 v0.1.0.0