添加单元测试
Showing
... | @@ -7,30 +7,36 @@ | ... | @@ -7,30 +7,36 @@ |
# | # | ||
Pod::Spec.new do |s| | Pod::Spec.new do |s| | ||
s.name = 'GMRouter' | s.name = 'GMRouter' | ||
s.version = '0.2.8' | s.version = '0.2.8' | ||
s.summary = 'A short description of GMRouter.' | s.summary = 'A short description of GMRouter.' | ||
# This description is used to generate tags and improve search results. | # This description is used to generate tags and improve search results. | ||
# * Think: What does it do? Why did you write it? What is the focus? | # * Think: What does it do? Why did you write it? What is the focus? | ||
# * Try to keep it short, snappy and to the point. | # * Try to keep it short, snappy and to the point. | ||
# * Write the description between the DESC delimiters below. | # * Write the description between the DESC delimiters below. | ||
# * Finally, don't worry about the indent, CocoaPods strips it! | # * Finally, don't worry about the indent, CocoaPods strips it! | ||
s.description = <<-DESC | s.description = <<-DESC | ||
更美路由 | 更美路由 | ||
DESC | DESC | ||
s.homepage = 'http://git.wanmeizhensuo.com/gengmeiios/GMRouter.git' | s.homepage = 'http://git.wanmeizhensuo.com/gengmeiios/GMRouter.git' | ||
s.license = { :type => 'MIT', :file => 'LICENSE' } | s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.author = { 'Q14' => 'qiaojinzhu@igengmei.com' } | s.author = { 'Q14' => 'qiaojinzhu@igengmei.com' } | ||
s.source = { :git => 'git@git.wanmeizhensuo.com:gengmeiios/GMRouter.git', :tag => s.version.to_s } | s.source = { :git => 'git@git.wanmeizhensuo.com:gengmeiios/GMRouter.git', :tag => s.version.to_s } | ||
s.ios.deployment_target = '8.0' | s.ios.deployment_target = '8.0' | ||
s.source_files = 'GMRouter/Classes/**/*' | s.source_files = 'GMRouter/Classes/**/*' | ||
s.dependency 'MJExtension' | s.dependency 'MJExtension' | ||
s.dependency 'GMPhobos' | s.dependency 'GMPhobos' | ||
s.test_spec 'GMRouterTests' do |test_spec| | |||
test_spec.source_files = 'Tests/*.{h,m}' | |||
test_spec.dependency 'OCMock' # This dependency will only be linked with your tests. | |||
end | |||
end | end |
Please
register
or
sign in
to comment