-
Notifications
You must be signed in to change notification settings - Fork 40
/
fsnotify.cabal
156 lines (151 loc) · 3.6 KB
/
fsnotify.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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.37.0.
--
-- see: https://github.com/sol/hpack
name: fsnotify
version: 0.4.1.0
synopsis: Cross platform library for file change notification.
description: Cross platform library for file creation, modification, and deletion notification. This library builds upon existing libraries for platform-specific Windows, Mac, and Linux filesystem event notification.
category: Filesystem
homepage: https://github.com/haskell-fswatch/hfsnotify
author: Mark Dittmer <[email protected]>, Niklas Broberg
maintainer: Tom McLaughlin <[email protected]>
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
test/Main.hs
library
exposed-modules:
System.FSNotify
System.FSNotify.Devel
other-modules:
System.FSNotify.Find
System.FSNotify.Listener
System.FSNotify.Path
System.FSNotify.Polling
System.FSNotify.Types
hs-source-dirs:
src
default-extensions:
ScopedTypeVariables
ghc-options: -Wall
build-depends:
async >=2.0.0.0
, base >=4.8 && <5
, bytestring >=0.10.2
, containers >=0.4
, directory >=1.3.0.0
, filepath >=1.3.0.0
, monad-control >=1.0.0.0
, safe-exceptions >=0.1.0.0
, text >=0.11.0
, time >=1.1
, unix-compat >=0.2
default-language: Haskell2010
if os(linux)
cpp-options: -DOS_Linux
if os(windows)
cpp-options: -DOS_Win32
if os(darwin)
cpp-options: -DOS_Mac
if os(freebsd) || os(netbsd) || os(openbsd)
cpp-options: -DOS_BSD
if os(linux)
other-modules:
System.FSNotify.Linux
System.FSNotify.Linux.Util
build-depends:
hinotify >=0.3.7
, unix >=2.7.1.0
if os(windows)
other-modules:
System.FSNotify.Win32
System.Win32.FileNotify
System.Win32.Notify
hs-source-dirs:
win-src
build-depends:
Win32
if os(darwin)
other-modules:
System.FSNotify.OSX
build-depends:
hfsevents >=0.1.3
executable example
main-is: Main.hs
other-modules:
Paths_fsnotify
hs-source-dirs:
example
default-extensions:
ScopedTypeVariables
ghc-options: -threaded -Wall
build-depends:
base
, directory
, exceptions
, filepath
, fsnotify
, monad-logger
, random
, retry
, safe-exceptions
, string-interpolate
, temporary
, unix-compat
, unliftio
default-language: Haskell2010
if os(linux)
cpp-options: -DOS_Linux
if os(windows)
cpp-options: -DOS_Win32
if os(darwin)
cpp-options: -DOS_Mac
if os(freebsd) || os(netbsd) || os(openbsd)
cpp-options: -DOS_BSD
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
FSNotify.Test.EventTests
FSNotify.Test.Util
Paths_fsnotify
hs-source-dirs:
test
default-extensions:
ScopedTypeVariables
ghc-options: -threaded -Wall
build-depends:
async >=2
, base >=4.3.1.0
, directory
, exceptions
, filepath
, fsnotify
, monad-logger
, random
, retry
, safe-exceptions
, string-interpolate
, temporary
, unix-compat
, unliftio >=0.2.20
default-language: Haskell2010
if os(linux)
cpp-options: -DOS_Linux
if os(windows)
cpp-options: -DOS_Win32
if os(darwin)
cpp-options: -DOS_Mac
if os(freebsd) || os(netbsd) || os(openbsd)
cpp-options: -DOS_BSD
if os(windows)
build-depends:
Win32
, sandwich >=0.1.1.1
else
build-depends:
sandwich