Sha256: 72fa8f77122a2737bf543f4add2695df1beef8583080aebc91269ed0414092fd
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
#!/usr/bin/env ruby # # Copyright:: Copyright 2016, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # $:.unshift File.expand_path("../../lib", __FILE__) require "license_scout/collector" require "license_scout/overrides" require "license_scout/options" project_dir = File.expand_path(Dir.pwd) project_name = File.basename(project_dir) output_dir = project_dir overrides = LicenseScout::Overrides.new opts = LicenseScout::Options.new(overrides: overrides) collector = LicenseScout::Collector.new(project_name, project_dir, output_dir, opts) collector.run report = collector.issue_report puts report
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
license_scout-0.1.0 | bin/license_scout |