forked from ivan-m/SourceGraph
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSourceGraph.cabal
More file actions
111 lines (104 loc) · 4.42 KB
/
SourceGraph.cabal
File metadata and controls
111 lines (104 loc) · 4.42 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Name: SourceGraph
Version: 0.7.0.8
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: Ivan.Miljenovic@gmail.com
Cabal-Version: >= 1.6
Build-Type: Simple
Extra-Source-Files: TODO
ChangeLog
Tested-With: GHC == 8.4.2
Source-Repository head
Type: git
Location: https://github.com/ivan-m/SourceGraph
Library
exposed-modules: Language.Haskell.SourceGraph.Analyse.Colors,
Language.Haskell.SourceGraph.Analyse.Everything,
Language.Haskell.SourceGraph.Analyse.GraphRepr,
Language.Haskell.SourceGraph.Analyse.Imports,
Language.Haskell.SourceGraph.Analyse.Module,
Language.Haskell.SourceGraph.Analyse.Utils,
Language.Haskell.SourceGraph.Analyse.Visualise,
Language.Haskell.SourceGraph.Parsing.ParseModule,
Language.Haskell.SourceGraph.Parsing.State,
Language.Haskell.SourceGraph.Parsing.Types,
Language.Haskell.SourceGraph.Analyse,
Language.Haskell.SourceGraph.Parsing
Hs-source-dirs: .
Other-Modules: Paths_SourceGraph
Build-Depends: base == 4.*,
containers,
multiset,
filepath,
random,
directory,
mtl,
fgl >= 5.6,
Graphalyze >= 0.15,
graphviz >= 2999.20 ,
Cabal >= 2.2,
haskell-src-exts >= 1.21
Executable SourceGraph {
Main-Is: SourceGraph.hs
Other-Modules: Language.Haskell.SourceGraph.CabalInfo,
Language.Haskell.SourceGraph.Parsing,
Language.Haskell.SourceGraph.Parsing.ParseModule,
Language.Haskell.SourceGraph.Parsing.State,
Language.Haskell.SourceGraph.Parsing.Types,
Language.Haskell.SourceGraph.Analyse,
Language.Haskell.SourceGraph.Analyse.Utils,
Language.Haskell.SourceGraph.Analyse.Colors,
Language.Haskell.SourceGraph.Analyse.GraphRepr,
Language.Haskell.SourceGraph.Analyse.Visualise,
Language.Haskell.SourceGraph.Analyse.Module,
Language.Haskell.SourceGraph.Analyse.Imports,
Language.Haskell.SourceGraph.Analyse.Everything,
Paths_SourceGraph
Ghc-Options: -Wall
Ghc-Prof-Options: -prof
Build-Depends: base == 4.*,
containers,
multiset,
filepath,
random,
directory,
mtl,
fgl >= 5.6,
Graphalyze >= 0.15,
graphviz >= 2999.20 ,
Cabal >= 2.2,
haskell-src-exts >= 1.20
}