forked from l4u/taobao_fu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
28 lines (25 loc) · 827 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
require 'rake'
require 'rake/gempackagetask'
PKG_FILES = FileList[
'[a-zA-Z-]*',
'generators/**/*',
'lib/**/*'
]
spec = Gem::Specification.new do |s|
s.name = "taobao_fu"
s.version = "1.0.0.beta5"
s.author = "why404"
s.email = "why404@gmail.com"
s.homepage = "http://rubygems.org/gems/taobao_fu"
s.platform = Gem::Platform::RUBY
s.summary = "Ruby SDK for the Taobao Open Platform"
s.description = "TaobaoFu is a Ruby gem (also can be a Rails plugin, supports Rails 3.0.0 or above) as an unofficial Ruby SDK for the Taobao Open Platform(http://open.taobao.com/)."
s.files = PKG_FILES.to_a
s.require_path = "lib"
s.has_rdoc = false
s.extra_rdoc_files = ["README.markdown"]
s.add_dependency("crack", ">= 0.1.7")
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end