-
Notifications
You must be signed in to change notification settings - Fork 47
/
directory.cabal
125 lines (113 loc) · 3.09 KB
/
directory.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
cabal-version: 2.2
name: directory
version: 1.3.9.0
license: BSD-3-Clause
license-file: LICENSE
maintainer: [email protected]
bug-reports: https://github.com/haskell/directory/issues
synopsis: Platform-agnostic library for filesystem operations
description:
This library provides a basic set of operations for manipulating files and
directories in a portable way.
category: System
build-type: Configure
tested-with: GHC == 8.10.7 || == 9.0.2 || == 9.2.4 || == 9.4.3
extra-tmp-files:
autom4te.cache
config.log
config.status
HsDirectoryConfig.h
extra-doc-files:
README.md
changelog.md
extra-source-files:
HsDirectoryConfig.h.in
System/Directory/Internal/*.h
configure
configure.ac
tests/*.hs
tests/util.inl
source-repository head
type: git
location: https://github.com/haskell/directory
flag os-string
description: Use the new os-string package
default: False
manual: False
Library
default-language: Haskell2010
other-extensions: CApiFFI, CPP
exposed-modules:
System.Directory
System.Directory.OsPath
System.Directory.Internal
System.Directory.Internal.Prelude
other-modules:
System.Directory.Internal.C_utimensat
System.Directory.Internal.Common
System.Directory.Internal.Config
System.Directory.Internal.Posix
System.Directory.Internal.Windows
include-dirs: .
build-depends:
base >= 4.13.0 && < 4.22,
file-io >= 0.1.4 && < 0.2,
time >= 1.8.0 && < 1.15,
if os(windows)
build-depends: Win32 >= 2.13.3 && < 2.15
else
build-depends: unix >= 2.8.0 && < 2.9
if flag(os-string)
build-depends: filepath >= 1.5.0.0, os-string >= 2.0.0
else
build-depends: filepath >= 1.4.100.0 && < 1.5.0.0
ghc-options: -Wall
test-suite test
default-language: Haskell2010
other-extensions: BangPatterns, CPP
default-extensions: OverloadedStrings
ghc-options: -Wall
hs-source-dirs: tests
main-is: Main.hs
type: exitcode-stdio-1.0
build-depends: base, directory, filepath, time
if os(windows)
build-depends: Win32
else
build-depends: unix
other-modules:
TestUtils
Util
-- test-modules-begin
CanonicalizePath
CopyFile001
CopyFile002
CopyFileWithMetadata
CreateDirectory001
CreateDirectoryIfMissing001
CurrentDirectory001
Directory001
DoesDirectoryExist001
DoesPathExist
FileTime
FindFile001
GetDirContents001
GetDirContents002
GetFileSize
GetHomeDirectory001
GetHomeDirectory002
GetPermissions001
LongPaths
MakeAbsolute
MinimizeNameConflicts
PathIsSymbolicLink
RemoveDirectoryRecursive001
RemovePathForcibly
RenameDirectory
RenameFile001
RenamePath
Simplify
T8482
WithCurrentDirectory
Xdg
-- test-modules-end