arx 0.0.4 → 0.1.0
raw patch · 6 files changed
+16/−12 lines, 6 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README +4/−2
- System/Posix/ARX/CLI.hs +1/−4
- arx.cabal +1/−1
- docs/blessed/arx.man +5/−3
- docs/blessed/arx.txt +4/−2
- model-scripts/tmpx.sh +1/−0
README view
@@ -48,8 +48,10 @@ unpacked the archives and set the environment. Any number of file path arguments may be specified; they will be inter‐- preted as tar archives to include in bundled script. If no archives are- specified, or - is given, then STDIN will be included.+ preted as tar archives to include in bundled script. If - is given,+ then STDIN will be included as an archive stream. If no arguments are+ given, it is assumed that no archives are desired and only the command+ and environment are bundled. The temporary directory created by the script is different for each invocation, with a name of the form /tmp/tmpx.<timestamp>.<pid>. The
System/Posix/ARX/CLI.hs view
@@ -90,15 +90,12 @@ -> ( Word, IOStream, [IOStream], [(Var, Val)], (Bool, Bool), ByteSource ) tmpxResolve (sizes, outs, tars, env, rms, cmds) =- (size, out, tarsWithDefaulting, env, rm, cmd)+ (size, out, tars, env, rm, cmd) where size = last (defaultBlock:sizes) out = last (STDIO:outs) rm = last ((True,True):rms) cmd = last (defaultTask:cmds)- tarsWithDefaulting- | tars == [] = [STDIO]- | otherwise = tars tmpxCheckStreams :: [IOStream] -> ByteSource -> Maybe ByteString tmpxCheckStreams tars cmd = streamsMessage [tars', cmd']
arx.cabal view
@@ -1,5 +1,5 @@ name : arx-version : 0.0.4+version : 0.1.0 category : Text license : BSD3 license-file : LICENSE
docs/blessed/arx.man view
@@ -1,4 +1,4 @@-.TH "ARX" "1" "2011-11-19" "0.0.0" "arx"+.TH "ARX" "1" "2011-12-20" "0.1.0" "arx" .SH NAME arx \- archived execution .@@ -88,8 +88,10 @@ archives and set the environment. .sp Any number of file path arguments may be specified; they will be interpreted-as tar archives to include in bundled script. If no archives are specified, or-\fB\-\fP is given, then STDIN will be included.+as tar archives to include in bundled script. If \fB\-\fP is given, then STDIN+will be included as an archive stream. If no arguments are given, it is+assumed that no archives are desired and only the command and environment are+bundled. .sp The temporary directory created by the script is different for each invocation, with a name of the form \fB/tmp/tmpx.<timestamp>.<pid>\fP. The
docs/blessed/arx.txt view
@@ -48,8 +48,10 @@ unpacked the archives and set the environment. Any number of file path arguments may be specified; they will be inter‐- preted as tar archives to include in bundled script. If no archives are- specified, or - is given, then STDIN will be included.+ preted as tar archives to include in bundled script. If - is given,+ then STDIN will be included as an archive stream. If no arguments are+ given, it is assumed that no archives are desired and only the command+ and environment are bundled. The temporary directory created by the script is different for each invocation, with a name of the form /tmp/tmpx.<timestamp>.<pid>. The
model-scripts/tmpx.sh view
@@ -48,3 +48,4 @@ # To be set by tool. } go+exit