-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
37 lines (30 loc) · 934 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
34
35
36
# -*- encoding : utf-8 -*-
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "im_sync"
gem.summary = %Q{immatériel.fr sync tools}
gem.description = %Q{immatériel.fr sync tools}
gem.email = "jboulnois@immateriel.fr"
gem.homepage = "http://github.com/immateriel/im_sync"
gem.authors = ["julbouln"]
gem.files = Dir.glob('bin/**/*') + Dir.glob('lib/**/*')
end
Jeweler::GemcutterTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
test.rcov_opts << '--exclude "gems/*"'
end
task :default => :test
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end