Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify rakefile and remove unused gem #74

Merged
merged 1 commit into from
Feb 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ gem 'rake', '10.1.0'
gem 'rack', '~> 1.6'
gem 'minitest'
gem "yard", "~> 0.8.7.3"
gem 'jeweler', '~> 1.8'
gem 'simplecov'

group :development do
Expand Down
17 changes: 5 additions & 12 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
require 'rubygems'
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'bundler'
require 'yard'

task :default => :spec

Rake::TestTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.loader = :direct
spec.pattern = './spec/statsd_spec.rb'
spec.verbose = true
end

begin
require 'yard'
rescue LoadError
else
namespace :build do
YARD::Rake::YardocTask.new :doc
end
namespace :build do
YARD::Rake::YardocTask.new :doc
end

Bundler::GemHelper.install_tasks