Skip to content
Browse files

Package the gemspec file in the gem for tests.

Yo dawg, I heard you like testing so I put a gemspec in your gemspec
so you can test the gem while you gem install.

Fixes #588
  • Loading branch information...
1 parent 8dd4d0a commit 223d75c8c6a1fefb1f6def728b870e94da7ab8b1 @lsegal committed Aug 8, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 yard.gemspec
View
3 yard.gemspec
@@ -15,7 +15,8 @@ Gem::Specification.new do |s|
s.email = "lsegal@soen.ca"
s.homepage = "http://yardoc.org"
s.platform = Gem::Platform::RUBY
- s.files = Dir.glob("{docs,bin,lib,spec,templates,benchmarks}/**/*") + ['ChangeLog', 'LICENSE', 'LEGAL', 'README.md', 'Rakefile', '.yardopts']
+ s.files = Dir.glob("{docs,bin,lib,spec,templates,benchmarks}/**/*") +
+ ['ChangeLog', 'LICENSE', 'LEGAL', 'README.md', 'Rakefile', '.yardopts', __FILE__]
s.require_paths = ['lib']
s.executables = ['yard', 'yardoc', 'yri']
s.has_rdoc = 'yard'

0 comments on commit 223d75c

Please sign in to comment.
Something went wrong with that request. Please try again.