Sha256: 761e23e335644d0d693b1137d236c2f7240659b2e84c1d08fa39b83bed8b84b6

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

# frozen_string_literal: true

namespace :fixturizer do
    namespace :configuration do
      desc 'Check the configuration file'
      task :lint do
        filename = (ENV['FIXTURIZER_CONFIGURATION_FILE'].is_a? String)? 
            ENV['FIXTURIZER_CONFIGURATION_FILE'] : 
            Fixturizer::Services.settings.configuration_filename
        Fixturizer::Services.get.linter(filename: filename).display
      end
  
      
    end
  end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fixturizer-0.4.4 lib/fixturizer/rake/rules/configuration.rake
fixturizer-0.4.3 lib/fixturizer/rake/rules/configuration.rake