Sha256: 91dfd559caf545a8513830d8e0fd46e33ac86d79edf3aff5fe00a1c84a7a87fb

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

#!/usr/bin/env ruby

require 'github_snap_builder/config'

if ARGV.length != 1
	puts "Usage:"
	puts "  github_snap_builder_config_validator <config file>"
	exit 0
end

config = GithubSnapBuilder::Config.new(File.read(ARGV[0]))

begin
	config.validate
rescue GithubSnapBuilder::ConfigurationError => e
	abort e.message
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_snap_builder-0.1.0 bin/github_snap_builder_config_validator