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.26.101 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.99 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.98 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.97 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.93 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.92 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.91 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.89 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.88 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.87 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.86 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.85 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.84 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.83 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.82 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.81 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.80 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.79 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.78 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.77 share/rbbt_commands/workflow/archive_all