forked from jhiggins/slither
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
37 lines (29 loc) · 825 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
37
require 'rake'
require 'spec/rake/spectask'
desc "Run all examples with RCov"
Spec::Rake::SpecTask.new('rcov') do |t|
t.spec_files = FileList['spec/*.rb']
t.rcov = true
t.rcov_opts = ['--exclude', 'spec']
end
begin
require 'bones'
Bones.setup
rescue LoadError
load 'tasks/setup.rb'
end
ensure_in_path 'lib'
require 'bones'
task :default => 'spec:run'
PROJ.name = 'slither'
PROJ.authors = 'Ryan Wood'
PROJ.email = '[email protected]'
PROJ.url = 'http://github.com/ryanwood/slither'
PROJ.version = '0.99.3'
PROJ.exclude = %w(\.git .gitignore ^tasks \.eprj ^pkg)
PROJ.readme_file = 'README.rdoc'
#PROJ.rubyforge.name = 'codeforpeople'
PROJ.rdoc.exclude << '^data'
PROJ.notes.exclude = %w(^README\.rdoc$ ^data ^pkg)
# PROJ.svn.path = 'bones'
# PROJ.spec.opts << '--color'