From d03df12cbaff7d3dec0197e60b913ed6fcd44e64 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Thu, 22 Oct 2015 10:05:46 -0700 Subject: [PATCH] Move to JSON podspec --- Stencil.podspec | 16 ---------------- Stencil.podspec.json | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 16 deletions(-) delete mode 100644 Stencil.podspec create mode 100644 Stencil.podspec.json diff --git a/Stencil.podspec b/Stencil.podspec deleted file mode 100644 index e462973..0000000 --- a/Stencil.podspec +++ /dev/null @@ -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 - diff --git a/Stencil.podspec.json b/Stencil.podspec.json new file mode 100644 index 0000000..3c90b8c --- /dev/null +++ b/Stencil.podspec.json @@ -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" ] + } +}