Skip to content

Commit

Permalink
Merge pull request #54 from puppet-community/lint_metadata
Browse files Browse the repository at this point in the history
Linting metadata.json
  • Loading branch information
nibalizer committed Nov 6, 2014
2 parents 316eb7d + d3cbc2d commit 622ff40
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 164 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: ruby
script: "bundle exec rake test"
script: "bundle exec rake test && bundle exec rake metadata"
rvm:
- 1.8.7
- 1.9.3
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ group :development, :test do
gem 'beaker-rspec', '2.2.4', :require => false
gem 'serverspec', :require => false
gem 'pry', :require => false
gem 'metadata-json-lint', :require => false
end
163 changes: 0 additions & 163 deletions Gemfile.lock

This file was deleted.

4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ task :lint_output do
end

task :lint => :lint_output

task :metadata do
sh "metadata-json-lint metadata.json"
end

0 comments on commit 622ff40

Please sign in to comment.