-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheditor-open.cabal
90 lines (85 loc) · 2.28 KB
/
editor-open.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
name: editor-open
version: 0.6.0.0
synopsis: Open the user's $VISUAL or $EDITOR for text input.
description:
You know when you run @git commit@, and an editor pops open so you can enter a
commit message? This is a Haskell library that does that.
.
This library isn't very portable. It relies on the @$EDITOR@ environment
variable. The concept only exists on *nix systems.
.
CHANGES
.
[0.6.0.0] Support less common @$VISUAL@. @vi@ is the fallback editor now
instead of @nano@.
.
[0.5.0.0] Now use conduits on the backend. Support @base\<4.8@
homepage: https://github.com/pharpend/editor-open
license: Apache-2.0
license-file: LICENSE
author: Peter Harpending
maintainer: [email protected]
copyright: Copyright 2015 Peter Harpending
category: Text
build-type: Simple
cabal-version: >=1.10
bug-reports: https://github.com/pharpend/editor-open/issues/new
extra-source-files:
LICENSE
README
data-files:
res/*.json
res/*.yaml
library
-- other-modules:
-- other-extensions:
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
LambdaCase
MultiWayIf
OverloadedStrings
RankNTypes
build-depends:
base ==4.*
, bytestring
, conduit >=1.2.3
, conduit-extra
, directory
, process >=1.2
, resourcet
, temporary
, transformers
, unix
exposed-modules:
Text.Editor
executable editor-open-test_yaml_file
hs-source-dirs: tests/
default-language: Haskell2010
build-depends:
base
, bytestring
, editor-open
main-is: test_yaml_file.hs
-- other-modules:
-- other-extensions:
executable editor-open-test_yaml_file_conduit
hs-source-dirs: tests/
default-language: Haskell2010
build-depends:
base
, bytestring
, conduit >=1.2.3
, conduit-extra
, editor-open
, resourcet
main-is: test_yaml_file_conduit.hs
-- other-modules:
-- other-extensions:
source-repository head
type: git
location: https://github.com/pharpend/editor-open.git
source-repository this
type: git
location: https://github.com/pharpend/editor-open.git
tag: 0.6.0.0