diff options
| -rw-r--r-- | HACKING.markdown | 3 | ||||
| -rw-r--r-- | Rakefile | 6 | ||||
| -rw-r--r-- | hcl.gemspec | 2 |
3 files changed, 2 insertions, 9 deletions
diff --git a/HACKING.markdown b/HACKING.markdown index be8e396..389c4d0 100644 --- a/HACKING.markdown +++ b/HACKING.markdown @@ -8,9 +8,8 @@ Use Bundler to install dependencies before you run the tests: bundle rake test -To view the test coverage: +Coverage is tested automatically. To view the test coverage report: - rake coverage open coverage/index.html ## Running HCl during development @@ -13,12 +13,6 @@ Rake::TestTask.new do |t| end task :default => :test -task(:coverage_env) { ENV['COVERAGE'] = "YES" } -Rake::TestTask.new(:coverage => :coverage_env) do |t| - t.libs << 'test' - t.test_files = FileList['test/*_test.rb'] -end - require 'yard' YARD::Rake::YardocTask.new task :doc => :yard diff --git a/hcl.gemspec b/hcl.gemspec index 6965e47..cad8cef 100644 --- a/hcl.gemspec +++ b/hcl.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.email = "zack@zackhobson.com" s.description = "HCl is a command-line client for manipulating Harvest time sheets." s.executables = ["hcl"] - s.files = %w[CHANGELOG LICENSE Rakefile] + Dir['*.markdown'] + + s.files = %w[CHANGELOG LICENSE Rakefile Gemfile] + Dir['*.markdown'] + Dir['bin/*'] + Dir['lib/**/*.rb'] + Dir['test/**/*.rb'] s.homepage = "http://zackhobson.com/hcl/" s.licenses = ["MIT"] |
