shelly 0.14 → 0.14.0.1
raw patch · 3 files changed
+7/−7 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- Shelly.hs +3/−3
- Shelly/Pipe.hs +3/−3
- shelly.cabal +1/−1
Shelly.hs view
@@ -33,7 +33,7 @@ , sshPairs, sshPairs_ -- * Modifying and querying environment.- , setenv, get_env, get_env_text, getenv, getenv_def, appendToPath+ , setenv, get_env, get_env_text, getenv, get_env_def, appendToPath -- * Environment directory , cd, chdir, pwd@@ -489,13 +489,13 @@ -- | deprecated getenv :: Text -> Sh Text-getenv k = getenv_def k ""+getenv k = get_env_def k "" {-# DEPRECATED getenv "use get_env or get_env_text" #-} -- | Fetch the current value of an environment variable. Both empty and -- non-existent variables give empty string as a result. get_env_text :: Text -> Sh Text-get_env_text = getenv_def ""+get_env_text = get_env_def "" -- | Fetch the current value of an environment variable. Both empty and -- non-existent variables give the default Text value as a result
Shelly/Pipe.hs view
@@ -49,7 +49,7 @@ , sshPairs, sshPairs_ -- * Modifying and querying environment.- , setenv, get_env, get_env_text, getenv_def, appendToPath+ , setenv, get_env, get_env_text, get_env_def, appendToPath -- * Environment directory , cd, chdir, pwd@@ -333,8 +333,8 @@ -- | Fetch the current value of an environment variable. Both empty and -- non-existent variables give the default value as a result-getenv_def :: Text -> Text -> Sh Text-getenv_def = sh2 S.getenv_def+get_env_def :: Text -> Text -> Sh Text+get_env_def = sh2 S.get_env_def -- | add the filepath onto the PATH env variable -- FIXME: only effects the PATH once the process is ran, as per comments in 'which'
shelly.cabal view
@@ -1,6 +1,6 @@ Name: shelly -Version: 0.14+Version: 0.14.0.1 Synopsis: shell-like (systems) programming in Haskell Description: Shelly provides convenient systems programming in Haskell,