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