aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/windows-env.cabal
blob: 87d4948c74039f044a0b462ae13416abd7a728ee (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                               
                           
                                                        







                                                                             









                                                                

       
                         




                                                           
                               


                                  
                                  
                                 
 
                  
                         
                                
                                                                   





                                                                       
 
                
                         
                                  
                                                                   
                                                                       
                          
                               



                                          
 
                  
                         
                                   
                                                       





                                                                       
 
                 
                         
                               
                                                       





                                                                       
 
                 
                         
                                 
                                                       





                                                                       


                      
                                                      
name:               windows-env
version:            0.2.1.0
synopsis:           Manage Windows environment variables
description:
  The only value this package currently provides is the bundled applications.
  The library currently lacks documentation, and hence is more or less
  unusable.
  .
  See the list of applications and their descriptions in README.md.
  Alternatively, visit the homepage at
  <https://github.com/egor-tensin/windows-env>.
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: README.md
cabal-version:      >=1.10

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

executable addpath
  hs-source-dirs:     app
  main-is:            AddPath.hs
  other-modules:      Utils.Path, Utils.Prompt, Utils.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:     app
  main-is:            ListPaths.hs
  other-modules:      Utils.Path, Utils.Prompt, Utils.PromptMessage
  ghc-options:        -Wall -Werror -threaded -rtsopts -with-rtsopts=-N
  build-depends:      base
                    , directory
                    , optparse-applicative
                    , transformers
                    , windows-env
  default-language:   Haskell2010

executable delpath
  hs-source-dirs:     app
  main-is:            RemovePath.hs
  other-modules:      Utils.Prompt, Utils.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:     app
  main-is:            SetEnv.hs
  other-modules:      Utils.Prompt, Utils.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:     app
  main-is:            UnsetEnv.hs
  other-modules:      Utils.Prompt, Utils.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