-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathRakefile
32 lines (29 loc) · 936 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 = "green_shoes"
gem.summary = %Q{Green Shoes}
gem.description = %Q{Green Shoes is one of colorful Shoes, written in pure Ruby with Ruby/GTK2.}
gem.email = "[email protected]"
gem.executables = ["gshoes"]
gem.homepage = "http://github.com/ashbb/green_shoes"
gem.authors = ["ashbb"]
gem.add_dependency 'gtk2'
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 = 'Green Shoes'
t.options << '--charset' << 'utf-8'
t.rdoc_files.include('README.md')
t.rdoc_files.include('lib/green_shoes.rb')
t.rdoc_files.include('lib/shoes/*.rb')
end
CLEAN.include [ 'pkg', '*.gem', 'doc' ]