mirror of
https://github.com/mperham/connection_pool
synced 2023-03-27 23:22:21 -04:00
rake
cleanup
This commit is contained in:
parent
ff7ea0c921
commit
cc554d1e10
2 changed files with 3 additions and 10 deletions
12
Rakefile
12
Rakefile
|
@ -1,14 +1,6 @@
|
||||||
begin
|
require 'bundler/gem_tasks'
|
||||||
require 'bundler'
|
|
||||||
Bundler::GemHelper.install_tasks
|
|
||||||
rescue LoadError
|
|
||||||
end
|
|
||||||
|
|
||||||
require 'rake/testtask'
|
require 'rake/testtask'
|
||||||
Rake::TestTask.new(:test) do |test|
|
Rake::TestTask.new
|
||||||
test.libs << 'test'
|
|
||||||
test.warning = true
|
|
||||||
test.pattern = 'test/**/test_*.rb'
|
|
||||||
end
|
|
||||||
|
|
||||||
task :default => :test
|
task :default => :test
|
||||||
|
|
|
@ -15,6 +15,7 @@ Gem::Specification.new do |s|
|
||||||
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
||||||
s.require_paths = ["lib"]
|
s.require_paths = ["lib"]
|
||||||
s.license = "MIT"
|
s.license = "MIT"
|
||||||
|
s.add_development_dependency 'bundler'
|
||||||
s.add_development_dependency 'minitest', '>= 5.0.0'
|
s.add_development_dependency 'minitest', '>= 5.0.0'
|
||||||
s.add_development_dependency 'rake'
|
s.add_development_dependency 'rake'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue