Sha256: ad026a76e578747caa58fee52171156cc9c3aa7fc489b89605d7f4f842b55460
Contents?: true
Size: 1.12 KB
Versions: 4
Compression:
Stored size: 1.12 KB
Contents
# # 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. # require "bundler/gem_tasks" require "rspec/core/rake_task" task default: :test desc "Run specs" RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = "spec/**/*_spec.rb" end begin require "chefstyle" require "rubocop/rake_task" RuboCop::RakeTask.new(:style) do |task| task.options += ["--display-cop-names", "--no-color"] end rescue LoadError puts "chefstyle/rubocop is not available. gem install chefstyle to do style checking." end desc "Run all tests" task test: [:style, :spec]
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
license_scout-0.1.3 | Rakefile |
license_scout-0.1.2 | Rakefile |
license_scout-0.1.1 | Rakefile |
license_scout-0.1.0 | Rakefile |