Sha256: 437b1dd09607908c779d285d79627ffe32b9dd95845e5a22122f936937732610
Contents?: true
Size: 420 Bytes
Versions: 4
Compression:
Stored size: 420 Bytes
Contents
require 'roby' Roby.app.setup app = Roby.app # Check there are actually files in the log/ directory if Dir.enum_for(:glob, File.join(app.log_dir, "*")).to_a.empty? puts "no files in #{app.log_dir}, nothing to do" exit 0 end user_path = ARGV.shift final_path = Roby::Application.unique_dirname(Roby.app.results_dir, user_path) puts "moving #{app.log_dir} to #{final_path}" FileUtils.mv app.log_dir, final_path
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
roby-0.7.1 | lib/roby/app/scripts/results.rb |
roby-0.7.2 | lib/roby/app/scripts/results.rb |
roby-0.7.3 | lib/roby/app/scripts/results.rb |
roby-0.7 | lib/roby/app/scripts/results.rb |