Sha256: 4997afc4aa28788253839c25410b1ccf0f13d82155c9bddb79a9f47a6ef7a881

Contents?: true

Size: 657 Bytes

Versions: 434

Compression:

Stored size: 657 Bytes

Contents

#!/usr/bin/env ruby

require 'rbbt/workflow'

require 'rbbt-util'
require 'fileutils'
require 'rbbt/util/simpleopt'
require 'rbbt/workflow/step'
require 'rbbt/util/misc'

require 'rbbt-util'
require 'rbbt/util/simpleopt'

$0 = "rbbt #{$previous_commands*""} #{ File.basename(__FILE__) }" if $previous_commands

options = SOPT.setup <<EOF
Examine the provenance of a job result

$ rbbt workflow archive <job> [target]

Archive job and all dependencies into the target tar gz file. If no target is specified 
it defaults to a <job>.tar.gz

-h--help Help
EOF

SOPT.usage if options[:help]

file, target = ARGV

Step.new(File.expand_path(file)).archive(target)

Version data entries

434 entries across 434 versions & 1 rubygems

Version Path
rbbt-util-6.0.3 share/rbbt_commands/workflow/archive
rbbt-util-5.44.1 share/rbbt_commands/workflow/archive
rbbt-util-5.43.0 share/rbbt_commands/workflow/archive
rbbt-util-5.42.0 share/rbbt_commands/workflow/archive
rbbt-util-5.41.1 share/rbbt_commands/workflow/archive
rbbt-util-5.41.0 share/rbbt_commands/workflow/archive
rbbt-util-5.40.5 share/rbbt_commands/workflow/archive
rbbt-util-5.40.4 share/rbbt_commands/workflow/archive
rbbt-util-5.40.3 share/rbbt_commands/workflow/archive
rbbt-util-5.40.0 share/rbbt_commands/workflow/archive
rbbt-util-5.39.0 share/rbbt_commands/workflow/archive
rbbt-util-5.38.1 share/rbbt_commands/workflow/archive
rbbt-util-5.38.0 share/rbbt_commands/workflow/archive
rbbt-util-5.37.16 share/rbbt_commands/workflow/archive
rbbt-util-5.37.15 share/rbbt_commands/workflow/archive
rbbt-util-5.37.14 share/rbbt_commands/workflow/archive
rbbt-util-5.37.13 share/rbbt_commands/workflow/archive
rbbt-util-5.37.12 share/rbbt_commands/workflow/archive
rbbt-util-5.37.11 share/rbbt_commands/workflow/archive
rbbt-util-5.37.10 share/rbbt_commands/workflow/archive