Sha256: b8dda551c11a173103aaa590ca9b8853c1795865ae1477dafcba0bb819d8c345
Contents?: true
Size: 762 Bytes
Versions: 49
Compression:
Stored size: 762 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.exist?(target) and not File.directory?(target) Step.archive(files, target)
Version data entries
49 entries across 49 versions & 1 rubygems