mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 03:47:05 +00:00
21 lines
1.3 KiB
Plaintext
21 lines
1.3 KiB
Plaintext
Pod::Spec.new do |s|
|
|
s.name = '{{projectName}}'{{#projectDescription}}
|
|
s.summary = '{{projectDescription}}'{{/projectDescription}}
|
|
s.ios.deployment_target = '8.0'
|
|
s.osx.deployment_target = '10.9'
|
|
s.version = '{{#podVersion}}{{podVersion}}{{/podVersion}}{{^podVersion}}0.0.1{{/podVersion}}'
|
|
s.source = {{#podSource}}{{& podSource}}{{/podSource}}{{^podSource}}{ :git => 'git@github.com:swagger-api/swagger-mustache.git', :tag => 'v1.0.0' }{{/podSource}}{{#podAuthors}}
|
|
s.authors = {{& podAuthors}}{{/podAuthors}}{{#podSocialMediaURL}}
|
|
s.social_media_url = '{{podSocialMediaURL}}'{{/podSocialMediaURL}}{{#podDocsetURL}}
|
|
s.docset_url = '{{podDocsetURL}}'{{/podDocsetURL}}
|
|
s.license = {{#podLicense}}{{& podLicense}}{{/podLicense}}{{^podLicense}}'Apache License, Version 2.0'{{/podLicense}}{{#podHomepage}}
|
|
s.homepage = '{{podHomepage}}'{{/podHomepage}}{{#podSummary}}
|
|
s.summary = '{{podSummary}}'{{/podSummary}}{{#podDescription}}
|
|
s.description = '{{podDescription}}'{{/podDescription}}{{#podScreenshots}}
|
|
s.screenshots = {{& podScreenshots}}{{/podScreenshots}}{{#podDocumentationURL}}
|
|
s.documentation_url = '{{podDocumentationURL}}'{{/podDocumentationURL}}
|
|
s.source_files = '{{projectName}}/Classes/Swaggers/**/*.swift'{{#usePromiseKit}}
|
|
s.dependency 'PromiseKit', '~> 2.1'{{/usePromiseKit}}
|
|
s.dependency 'Alamofire', '~> 1.3'
|
|
end
|