-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
32 lines (29 loc) · 930 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
require 'rubygems'
require 'rake'
require 'rdoc/task'
require 'rake/clean'
begin
require 'jeweler'
rescue LoadError
raise LoadError, "!!! Please install the gem: jeweler !!!"
end
Jeweler::Tasks.new do |gem|
gem.name = "purple_shoes"
gem.summary = %Q{Purple Shoes}
gem.description = %Q{Purple Shoes is one of colorful Shoes, written in JRuby and SWT.}
gem.email = "[email protected]"
gem.executables = ["pshoes"]
gem.homepage = "http://github.com/ashbb/purple_shoes"
gem.authors = ["ashbb"]
gem.add_dependency 'swt'
gem.files = %w[bin lib static samples snapshots].map{|dir| FileList[dir + '/**/*']}.flatten << 'VERSION'
end
Rake::RDocTask.new do |t|
t.rdoc_dir = 'doc'
t.title = 'Purple Shoes'
t.options << '--charset' << 'utf-8'
t.rdoc_files.include('README.md')
t.rdoc_files.include('lib/purple_shoes.rb')
t.rdoc_files.include('lib/shoes/*.rb')
end
CLEAN.include [ 'pkg', '*.gem', 'doc' ]