Sha256: ed529b9bd94e5dff513ae504e568a682fda53f2b34a527cac7b13f6718f18cc3

Contents?: true

Size: 237 Bytes

Versions: 12

Compression:

Stored size: 237 Bytes

Contents

require 'rake'
require 'rake/tasklib'
require 'metadata_json_lint'
require 'json'

desc 'Run metadata-json-lint'
task :metadata_lint do
  if File.exist?('metadata.json')
    abort unless MetadataJsonLint.parse('metadata.json')
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
metadata-json-lint-3.0.3 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-3.0.2 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-3.0.1 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-3.0.0 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-2.4.0 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-2.3.0 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-2.2.0 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-2.1.0 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-2.0.2 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-2.0.1 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-2.0.0 lib/metadata-json-lint/rake_task.rb
metadata-json-lint-1.2.2 lib/metadata-json-lint/rake_task.rb