Sha256: ec327b6d2c73c94937472aed85bd36f027d9f35443eacdcfb67982cfc2ed0ce7
Contents?: true
Size: 627 Bytes
Versions: 52
Compression:
Stored size: 627 Bytes
Contents
#!/usr/bin/env ruby require 'rbbt-util' require 'rbbt/util/simpleopt' require 'rbbt/workflow' $0 = "rbbt #{$previous_commands*" "} #{ File.basename(__FILE__) }" if $previous_commands options = SOPT.setup <<EOF Make a job forget all its dependencies and archive their meta-data $ #{$0} [options] <job_path> -h--help Print this help EOF if options[:help] if defined? rbbt_usage rbbt_usage else puts SOPT.doc end exit 0 end path = ARGV[0] raise ParameterException, "No path given" if path.nil? step = Workflow.load_step path iif step.rec_dependencies step.archive_deps step.set_info :dependencies, []
Version data entries
52 entries across 52 versions & 1 rubygems