aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/windows-env.cabal
blob: 5a2857ddb75cfb4a4c830515c3087e8a0df46a5b (plain) (tree)
1
2
3
4
5
                                
                            
                                                             
                                         
                                                               











                                                                 

                                                      
                                    





                                         
                                     

                                                          
                                           
                                  




                                         
                                     

                                                          
                                           
                                  




                                  
                                     

                                                          
                                           
                                  




                                    
                                     

                                                          
                                           
                                  




                                  
                                     

                                                          
                                           
                                  




                                  
                                     

                                                          
                                           
                                  



                                  
                                                      
name:                windows-env
version:             0.1.0.0
synopsis:            Windows environment variables management
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, split, Win32
  default-language:    Haskell2010

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

executable fix_nt_symbol_path
  hs-source-dirs:      apps
  main-is:             FixNtSymbolPath.hs
  other-modules:       Banner, Prompt
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base, directory, filepath
                     , optparse-applicative
                     , windows-env
  default-language:    Haskell2010

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

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

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

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

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