forked from srid/neuron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathneuron.cabal
More file actions
95 lines (89 loc) · 1.76 KB
/
neuron.cabal
File metadata and controls
95 lines (89 loc) · 1.76 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
cabal-version: 2.4
name: neuron
-- This version must be in sync with what's in Default.dhall
version: 0.1.0.0
license: BSD-3-Clause
maintainer: srid@srid.ca
author: Sridhar Ratnakumar
category: Web
common ghc-common
ghc-options:
-Wall
-Wincomplete-record-updates
-Wincomplete-uni-patterns
common library-common
import: ghc-common
hs-source-dirs: src
default-language: Haskell2010
build-depends:
base,
aeson,
clay -any,
containers,
directory,
exceptions,
file-embed,
gitrev,
lucid -any,
optparse-applicative,
pandoc,
path,
path-io,
relude,
rib ^>=0.8,
shake -any,
time,
text,
mmark,
mmark-ext,
modern-uri,
foldl,
filepattern,
filepath,
algebraic-graphs >= 0.5,
dhall >= 1.30,
which,
unix
library
import: library-common
exposed-modules:
Neuron.Zettelkasten
Neuron.Zettelkasten.Route
Neuron.Zettelkasten.Store
Neuron.Zettelkasten.Query
Neuron.Zettelkasten.Graph
Neuron.Zettelkasten.View
Neuron.Zettelkasten.Link
Neuron.Zettelkasten.Link.View
Neuron.Zettelkasten.Link.Action
Neuron.Zettelkasten.Markdown
Neuron.Zettelkasten.Meta
Neuron.Zettelkasten.Type
Neuron.Zettelkasten.Config
Neuron.Zettelkasten.ID
executable neuron
-- We include library modules here, so that ghcid knows to reload when they change.
import: library-common
hs-source-dirs: src-bin
main-is: Main.hs
build-depends:
base,
rib,
relude,
path,
shake,
clay,
lucid,
with-utf8
test-suite neuron-test
import: library-common
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
base,
relude,
hspec,
QuickCheck,
time
default-language: Haskell2010