Sha256: 6eb952e555e0136f2544a721792c84b87104c7c8a4157a208d30e877a6b05977

Contents?: true

Size: 763 Bytes

Versions: 248

Compression:

Stored size: 763 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 <target> <job> [<job> ...]

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

-h--help Help
EOF

SOPT.usage if options[:help]

target, *files = ARGV

raise "Target already exists: #{ target }" if File.exists?(target) and not File.directory?(target)
Step.archive(files, target)

Version data entries

248 entries across 248 versions & 1 rubygems

Version Path
rbbt-util-5.34.8 share/rbbt_commands/workflow/archive_all
rbbt-util-5.34.7 share/rbbt_commands/workflow/archive_all
rbbt-util-5.34.5 share/rbbt_commands/workflow/archive_all
rbbt-util-5.34.4 share/rbbt_commands/workflow/archive_all
rbbt-util-5.34.3 share/rbbt_commands/workflow/archive_all
rbbt-util-5.34.2 share/rbbt_commands/workflow/archive_all
rbbt-util-5.34.1 share/rbbt_commands/workflow/archive_all
rbbt-util-5.34.0 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.21 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.20 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.19 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.18 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.17 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.16 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.15 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.14 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.13 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.12 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.11 share/rbbt_commands/workflow/archive_all
rbbt-util-5.33.9 share/rbbt_commands/workflow/archive_all