Skip to content

Commit

Permalink
Merge pull request #4 from ByteSource-net/add_js_templates_to_gemspec
Browse files Browse the repository at this point in the history
Add js templates to gemspec for gem packaging
  • Loading branch information
aleksey-hariton committed Dec 2, 2015
2 parents 918aea6 + 4b5b10b commit a6eefb6
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 a6eefb6

Please sign in to comment.