Sha256: 84256c52587989efd4c3a16751b1e1c1838ece718f48962c7fa22e031d0273df
Contents?: true
Size: 430 Bytes
Versions: 5
Compression:
Stored size: 430 Bytes
Contents
#!/usr/bin/env ruby require 'fileutils' require 'getoptlong' raise StandardError unless RUBY_VERSION =~ /^1\.9\.\d$/ opts = GetoptLong.new([ '--snapshot', '-s', GetoptLong::REQUIRED_ARGUMENT ]) opts.each { |opt, arg| if opt == '--snapshot' || opt == '-s' raise ArgumentError, "Please provide a valid directory." unless File.directory?(arg) FileUtils.cp_r File.expand_path(File.dirname(__FILE__) + '/..'), arg end }
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
qa_robusta-0.1.9 | bin/qa_robusta |
qa_robusta-0.1.8 | bin/qa_robusta |
qa_robusta-0.1.5 | bin/qa_robusta |
qa_robusta-0.1.4 | bin/qa_robusta |
qa_robusta-0.1.3 | bin/qa_robusta |