Skip to content

Commit

Permalink
Merge pull request realm#925 from realm/jp-podspec
Browse files Browse the repository at this point in the history
Add podspec
  • Loading branch information
jpsim authored Dec 7, 2016
2 parents c72efc3 + b58d3a5 commit 9d44912
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
language: objective-c
git:
submodules: false
branches:
only:
- master
script: placeholder # workaround for https://github.com/travis-ci/travis-ci/issues/4681
language: generic
matrix:
include:
- script: set -o pipefail && script/cibuild | xcpretty
- script:
- set -o pipefail && script/cibuild | xcpretty
- pod lib lint
os: osx
osx_image: xcode8
env: JOB=Xcode8
before_install:
- gem install cocoapods -v '1.1.1'
- pod repo update
- script: swift test
os: osx
osx_image: xcode8
env: JOB=SPM
exclude:
- script: placeholder # workaround for https://github.com/travis-ci/travis-ci/issues/4681

notifications:
email: false
slack: realmio:vPdpsG9NLDo2DNlbqtcMAQuE
Expand Down
14 changes: 14 additions & 0 deletions SwiftLintFramework.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Pod::Spec.new do |s|
s.name = 'SwiftLintFramework'
s.version = '0.13.2'
s.summary = 'A tool to enforce Swift style and conventions.'
s.homepage = 'https://github.com/realm/SwiftLint'
s.source = { :git => s.homepage + '.git', :tag => s.version }
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'JP Simard' => 'jp@jpsim.com' }
s.platform = :osx, '10.10'
s.source_files = 'Source/SwiftLintFramework/**/*.swift'
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
s.dependency 'SourceKitten'
s.dependency 'Yaml'
end

0 comments on commit 9d44912

Please sign in to comment.