Skip to content

Commit

Permalink
Add js templates to gemspec for gem packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
joerg committed Dec 2, 2015
1 parent 918aea6 commit 4b5b10b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions yard-chef.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency 'yard', '~> 0.8'
gem.add_runtime_dependency 'redcarpet', '~> 2.1.1'

gem.files = Dir.glob('templates/**/*.erb')
gem.files += Dir.glob('templates/**/*.rb')
gem.files += Dir.glob('templates/**/*.css')
gem.files = Dir.glob('templates/**/*.{erb,rb,css,js}')
gem.files += Dir.glob('lib/**/*.rb')
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
Expand Down

0 comments on commit 4b5b10b

Please sign in to comment.