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.76 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.75 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.74 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.73 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.72 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.71 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.70 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.69 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.68 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.67 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.66 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.65 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.64 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.63 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.62 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.59 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.58 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.57 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.55 share/rbbt_commands/workflow/archive_all
rbbt-util-5.26.54 share/rbbt_commands/workflow/archive_all