Sha256: e474cec55538c0d74313218be0752893d4d9ce83375eb9859efb233dc2efa778

Contents?: true

Size: 603 Bytes

Versions: 3

Compression:

Stored size: 603 Bytes

Contents

#!/usr/bin/env ruby

lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'archruby'

config_path = nil
app_root_path = nil
ARGV.each do |arg|
  option, value = arg.split('=')
  config_path = value if option.eql?('--arch_def_file')
  app_root_path = value if option.eql?('--app_root_path')
end

arch_checker = Archruby::ExtractArchitecture.new(config_path, app_root_path)
constraints_breaks = arch_checker.verify

Archruby::Presenters::Yaml.new.render(arch_checker.architecture)
Archruby::Presenters::Graph.new.render(arch_checker.architecture)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
archruby-0.2.0 bin/archruby
archruby-0.1.1 bin/archruby
archruby-0.1.0 bin/archruby