-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
34 lines (26 loc) · 981 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
task :default
package_name = 'syskit-webapp'
begin
require 'hoe'
Hoe::plugin :yard
hoe_spec = Hoe.spec package_name do
self.version = ''
self.developer "Steffen Planthaber", "[email protected]"
self.extra_deps <<
['rake', '>= 0.8.0'] <<
["hoe", ">= 3.0.0"] <<
["hoe-yard", ">= 0.1.2"]
self.summary = 'web server application and html files to control syskit via an http api'
self.readme_file = FileList['README*'].first
self.description = paragraphs_of(readme_file, 3..5).join("\n\n")
self.spec_extras = {
:required_ruby_version => '>= 1.8.7'
}
end
# If you need to deviate from the defaults, check utilrb's Rakefile as an example
Rake.clear_tasks(/^default$/)
task :default => []
task :doc => :yard
rescue LoadError => e
puts "Extension for '#{package_name}' cannot be build -- loading gem failed: #{e}"
end