forked from tduehr/buby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
51 lines (44 loc) · 1.69 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
40
41
42
43
44
45
46
47
48
49
50
require 'rubygems'
require 'rake'
require 'rake/clean'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "buby"
gem.summary = %q{Buby is a mashup of JRuby with the popular commercial web security testing tool Burp Suite from PortSwigger}
gem.description = %q{Buby is a mashup of JRuby with the popular commercial web security testing tool Burp Suite from PortSwigger. Burp is driven from and tied to JRuby with a Java extension using the BurpExtender API. This extension aims to add Ruby scriptability to Burp Suite with an interface comparable to the Burp's pure Java extension interface.}
gem.email = "[email protected], [email protected]"
gem.homepage = "http://tduehr.github.com/buby"
gem.authors = ["Eric Monti, tduehr"]
gem.platform = "java"
gem.test_files = ["test/buby_test.rb"]
gem.require_paths << 'java'
gem.rdoc_options = ["--main", "README.rdoc"]
gem.extra_rdoc_files = ["History.txt", "README.rdoc", "bin/buby"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test' << 'java'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
task :test => :check_dependencies
task :default => :test
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION')
version = File.read('VERSION')
else
version = ""
end
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "buby #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('History.txt')
rdoc.rdoc_files.include('bin/buby')
rdoc.rdoc_files.include('lib/**/*.rb')
end