Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Commit

Permalink
Add README.md and example/ to gem
Browse files Browse the repository at this point in the history
  • Loading branch information
NV committed Mar 20, 2010
1 parent 21f35a3 commit a1dcb76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Rakefile
Expand Up @@ -13,7 +13,7 @@ def version
git_describe_tags = `git describe --tags`
tag = git_describe_tags.split('-').first || git_describe_tags
tag.strip!
commits_count_after_last_tag = `git rev-list --full-history #{tag}.. -- bin/ | wc -l`.strip
commits_count_after_last_tag = `git rev-list --full-history #{tag}.. -- lib/ | wc -l`.strip
tag.slice! 0
"#{tag}.#{commits_count_after_last_tag}"
end
Expand All @@ -27,8 +27,9 @@ spec = Gem::Specification.new do |s|
s.date = Date.today
s.authors = ['Nikita Vasilyev']
s.email = `git log --pretty=format:"%ae" -1`
s.files = Dir['lib/**/*', 'bin/**/*', 'README.md']
s.executables = ['jspp']
s.test_files = Dir['spec/**/*']
s.test_files = Dir['spec/**/*', 'example/**/*']
s.has_rdoc = false
end

Expand Down

0 comments on commit a1dcb76

Please sign in to comment.