aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/windows-env.cabal
blob: 6209a1da189e97b46d768556bd1a912a8825213e (plain) (blame)
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
name:                windows-env
version:             0.1.0.0
synopsis:            Manage Windows environment variables
description:         Please see README.md
homepage:            https://github.com/egor-tensin/windows-env
license:             MIT
license-file:        LICENSE.txt
author:              Egor Tensin
maintainer:          Egor.Tensin@gmail.com
copyright:           (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
category:            System
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Windows.Environment
  other-modules:       Windows.Registry, Windows.Utils
  ghc-options:         -Wall -Werror
  build-depends:       base
                     , bytestring
                     , split
                     , text
                     , transformers
                     , Win32
  default-language:    Haskell2010

executable addpath
  hs-source-dirs:      apps
  main-is:             AddPath.hs
  other-modules:       Prompt, PromptMessage
  ghc-options:         -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , optparse-applicative
                     , transformers
                     , windows-env
  default-language:    Haskell2010

executable paths
  hs-source-dirs:      apps
  main-is:             ListPath.hs
  other-modules:       Prompt, PromptMessage
  ghc-options:         -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base, directory
                     , optparse-applicative
                     , windows-env
  default-language:    Haskell2010

executable delpath
  hs-source-dirs:      apps
  main-is:             RemovePath.hs
  other-modules:       Prompt, PromptMessage
  ghc-options:         -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , optparse-applicative
                     , transformers
                     , windows-env
  default-language:    Haskell2010

executable setenv
  hs-source-dirs:      apps
  main-is:             SetEnv.hs
  other-modules:       Prompt, PromptMessage
  ghc-options:         -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , optparse-applicative
                     , transformers
                     , windows-env
  default-language:    Haskell2010

executable delenv
  hs-source-dirs:      apps
  main-is:             UnsetEnv.hs
  other-modules:       Prompt, PromptMessage
  ghc-options:         -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , optparse-applicative
                     , transformers
                     , windows-env
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/egor-tensin/windows-env