-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
39 lines (32 loc) · 1 KB
/
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
38
39
#-*- encoding:utf-8 ; mode:ruby -*-
begin
require 'bones'
rescue LoadError
abort '### Please install the "bones" gem ###'
end
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
task :default => 'spec'
task 'gem:release' => 'spec'
Bones {
name 'docbook_files'
authors 'Rainer Volz'
email '[email protected]'
url 'http://projekte.textmulch.de/docbook_files/'
ignore_file '.gitignore'
exclude << 'dbf-about.org'
depend_on 'libxml-ruby'
depend_on 'term-ansicolor'
depend_on 'wand'
depend_on 'zucker'
depend_on 'rspec', :development => true
gem.extras[:license] = 'MIT'
gem.extras[:post_install_message] = <<-POST_INSTALL_MSG
Please note:
- docbook_files uses color to mark problematic files.
On Windows, you should additionally install the gem 'win32console'
to enable color output in the terminal.
- JSON output is optional for Ruby 1.8. Please install the gem 'json'
if you are running Ruby 1.8 and want JSON output.
POST_INSTALL_MSG
}