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

Version Path
rbbt-util-5.28.7 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.28.6 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.28.5 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.28.4 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.28.2 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.28.1 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.28.0 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.13 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.12 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.11 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.10 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.9 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.8 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.7 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.6 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.5 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.4 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.3 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.2 share/rbbt_commands/workflow/forget_deps
rbbt-util-5.27.1 share/rbbt_commands/workflow/forget_deps