wip
This commit is contained in:
parent
a430c175f4
commit
e73810fe45
|
@ -13,8 +13,8 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint-podspec:
|
||||
name: lint podspec
|
||||
lint-podspecs:
|
||||
name: lint podspecs
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Git Checkout
|
||||
|
@ -22,11 +22,17 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0 # required to be able to find Git tags
|
||||
|
||||
- name: Lint Podspec
|
||||
- name: Lint Introspect.podspec
|
||||
run: |
|
||||
set -eo pipefail
|
||||
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
pod lib lint --allow-warnings
|
||||
pod lib lint Introspect.podspec --allow-warnings
|
||||
|
||||
- name: Lint SwiftUIIntrospect.podspec
|
||||
run: |
|
||||
set -eo pipefail
|
||||
export LIB_VERSION=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
pod lib lint SwiftUIIntrospect.podspec --allow-warnings
|
||||
|
||||
ci:
|
||||
name: ${{ matrix.platform[0] }} ${{ matrix.platform[1] }}
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
Pod::Spec.new do |spec|
|
||||
spec.name = 'SwiftUIIntrospect'
|
||||
spec.version = ENV['LIB_VERSION']
|
||||
spec.license = { type: 'MIT' }
|
||||
spec.homepage = 'https://github.com/siteline/swiftui-introspect'
|
||||
spec.author = 'David Roman'
|
||||
spec.summary = 'Introspect underlying UIKit/AppKit components from SwiftUI.'
|
||||
spec.source = {
|
||||
git: 'https://github.com/siteline/swiftui-introspect.git',
|
||||
tag: spec.version
|
||||
}
|
||||
|
||||
spec.source_files = 'Sources/**.swift'
|
||||
|
||||
spec.swift_version = '5.7'
|
||||
spec.ios.deployment_target = '13.0'
|
||||
spec.tvos.deployment_target = '13.0'
|
||||
spec.osx.deployment_target = '10.15'
|
||||
end
|
Loading…
Reference in New Issue