-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
33 lines (27 loc) · 873 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
require 'rubygems'
task :default => [ :test ]
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/**/*_test.rb']
t.verbose = true
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
$: << "lib"
require 'diy.rb'
gemspec.name = 'diy'
gemspec.version = DIY::VERSION
gemspec.summary = 'Constructor-based dependency injection container using YAML input.'
gemspec.description = 'Constructor-based dependency injection container using YAML input.'
gemspec.homepage = 'http://atomicobject.github.com/diy'
gemspec.authors = 'Atomic Object'
gemspec.email = '[email protected]'
gemspec.test_files = FileList['test/*_test.rb']
gemspec.add_dependency 'constructor', '>= 1.0.0'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "(jeweler not installed)"
end