Move to JSON podspec

This commit is contained in:
Kyle Fuller
2015-10-22 10:05:46 -07:00
parent 62f6016e94
commit d03df12cba
2 changed files with 30 additions and 16 deletions

View File

@@ -1,16 +0,0 @@
Pod::Spec.new do |spec|
spec.name = 'Stencil'
spec.version = '0.3.0'
spec.summary = 'Stencil is a simple and powerful template language for Swift.'
spec.homepage = 'https://github.com/kylef/Stencil'
spec.license = { :type => 'BSD', :file => 'LICENSE' }
spec.author = { 'Kyle Fuller' => 'inbox@kylefuller.co.uk' }
spec.social_media_url = 'http://twitter.com/kylefuller'
spec.source = { :git => 'https://github.com/kylef/Stencil.git', :tag => spec.version }
spec.source_files = 'Stencil/*.swift', 'Stencil/TemplateLoader/*.swift'
spec.ios.deployment_target = '8.0'
spec.osx.deployment_target = '10.9'
spec.requires_arc = true
spec.dependency 'PathKit', '~> 0.5.0'
end

30
Stencil.podspec.json Normal file
View File

@@ -0,0 +1,30 @@
{
"name": "Stencil",
"version": "0.3.0",
"summary": "Stencil is a simple and powerful template language for Swift.",
"homepage": "https://github.com/kylef/Stencil",
"license": {
"type": "BSD",
"file": "LICENSE"
},
"authors": {
"Kyle Fuller": "inbox@kylefuller.co.uk"
},
"social_media_url": "http://twitter.com/kylefuller",
"source": {
"git": "https://github.com/kylef/Stencil.git",
"tag": "0.3.0"
},
"source_files": [
"Stencil/*.swift",
"Stencil/TemplateLoader/*.swift"
],
"platforms": {
"ios": "8.0",
"osx": "10.9"
},
"requires_arc": true,
"dependencies": {
"PathKit": [ "~> 0.5.0" ]
}
}