Sha256: e79f751d5e1ef61402a030541cf7ace9bf951b9dd8b2604f3a23308e645582c9
Contents?: true
Size: 582 Bytes
Versions: 6
Compression:
Stored size: 582 Bytes
Contents
#! /usr/bin/env ruby require 'autoproj/cli/main' require 'autoproj/cli/locate' Autoproj::CLI.basic_setup Autoproj.report(silent: true) do cli = Autoproj::CLI::Locate.new arg = ARGV.first || Dir.pwd if File.directory?(arg) arg = "#{File.expand_path(arg)}/" end log_files = cli.logs_of(arg, log: nil) if log_files.size == 1 logfile = log_files.first elsif log_files.size > 1 logfile = cli.select_log_file(log_files) elsif log_files.empty? raise "no logs found for #{string}" end puts File.read(logfile) end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
autoproj-2.0.3 | bin/alog |
autoproj-2.0.2 | bin/alog |
autoproj-2.0.1 | bin/alog |
autoproj-2.0.0 | bin/alog |
autoproj-2.0.0.rc42 | bin/alog |
autoproj-2.0.0.rc41 | bin/alog |