Sha256: ee04f4113b4734893fc45fa3b2b03cf1649cab54afeecebd3c657d11f063998c
Contents?: true
Size: 485 Bytes
Versions: 13
Compression:
Stored size: 485 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib")) require 'roodi' runner = Roodi::Core::ParseTreeRunner.new config_param = ARGV.detect {|arg| arg =~ /-config=.*/} runner.config = config_param.split("=")[1] if config_param ARGV.delete config_param ARGV.each do |arg| Dir.glob(arg).each { |file| runner.check_file(file) } end runner.errors.each {|error| puts error} puts "\nFound #{runner.errors.size} errors." exit runner.errors.size
Version data entries
13 entries across 13 versions & 2 rubygems