-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathSourceGraph.cabal
85 lines (78 loc) · 2.9 KB
/
SourceGraph.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Name: SourceGraph
Version: 0.7.0.7
Synopsis: Static code analysis using graph-theoretic techniques.
Description: {
Statically analyse Haskell source code using graph-theoretic
techniques. Sample reports can be found at:
<http://code.haskell.org/~ivanm/Sample_SourceGraph/SampleReports.html>
.
To use SourceGraph, call it as either:
.
> SourceGraph path/to/Foo.cabal
.
Or, if your project doesn't use Cabal, then there is limited support
for using an overall module from your program\/library:
.
> SourceGraph path/to/Foo.hs
.
Note that the Cabal method is preferred, as it is better able to
determine the project name and exported modules (when passing a
Haskell file to SourceGraph, it uses that module's name as the overall
name of project and assumes that it is the only exported module; as
such, it works better for programs than libraries).
.
Whichever way you run SourceGraph, it then creates a @SourceGraph@
subdirectory in the same directory as the file that was passed to it,
and within that subdirectory creates the analysis report in
@Foo.html@.
.
SourceGraph is still experimental in terms of its ability to parse and
properly understand Haskell source code and in the types of analyses
it performs.
}
Category: Development
License: GPL
License-file: COPYRIGHT
Copyright: (c) Ivan Lazar Miljenovic
Author: Ivan Lazar Miljenovic
Maintainer: [email protected]
Cabal-Version: >= 1.6
Build-Type: Simple
Extra-Source-Files: TODO
ChangeLog
Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4,
GHC == 7.10.2, GHC == 7.11.*
Source-Repository head
Type: git
Location: https://github.com/ivan-m/SourceGraph
Executable SourceGraph {
Main-Is: Main.hs
Other-Modules: CabalInfo,
Parsing,
Parsing.ParseModule,
Parsing.State,
Parsing.Types,
Analyse,
Analyse.Utils,
Analyse.Colors,
Analyse.GraphRepr,
Analyse.Visualise,
Analyse.Module,
Analyse.Imports,
Analyse.Everything,
Paths_SourceGraph
Ghc-Options: -Wall
Ghc-Prof-Options: -prof
Build-Depends: base == 4.*,
containers,
multiset,
filepath,
random,
directory,
mtl,
fgl == 5.5.*,
Graphalyze >= 0.14.1.0 && < 0.15,
graphviz >= 2999.15.0.0 && < 2999.19,
Cabal == 1.22.*,
haskell-src-exts == 1.16.*
}