Sha256: 7855686609d118e47cd1c5588334ddc9ec238aa00b1ab0664aaeb2e066f2c30d
Contents?: true
Size: 579 Bytes
Versions: 3
Compression:
Stored size: 579 Bytes
Contents
require 'rake/clean' require_relative '../lib/reek/core/smell_repository' CONFIG_FILE = 'config/defaults.reek' file CONFIG_FILE do config = {} Reek::Core::SmellRepository.smell_types.each do |klass| config[klass.name.split(/::/)[-1]] = klass.default_config end $stderr.puts "Creating #{CONFIG_FILE}" require 'yaml' File.open(CONFIG_FILE, 'w') { |f| YAML.dump(config, f) } end task CONFIG_FILE => FileList['lib/reek/smells/*.rb'] task 'test:spec' => CONFIG_FILE task 'test:quality' => CONFIG_FILE task 'test:features' => CONFIG_FILE task 'reek' => CONFIG_FILE
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reek-2.2.1 | tasks/develop.rake |
reek-2.2.0 | tasks/develop.rake |
reek-2.1.0 | tasks/develop.rake |