-
Notifications
You must be signed in to change notification settings - Fork 72
/
ConfigurePodspec.rb
22 lines (20 loc) · 781 Bytes
/
ConfigurePodspec.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Configures the given Podspec with shared constants for all Epoxy podspecs.
def configure(spec:, name:, summary:, local_deps: [])
# The shared CocoaPods version number for Epoxy.
#
# Change this constant to increment the Podspec version for all Epoxy Podspecs from a single place.
version = '0.10.0'
spec.name = name
spec.summary = summary
spec.version = version
spec.license = 'Apache License, Version 2.0'
spec.homepage = 'https://github.com/airbnb/epoxy-ios'
spec.authors = 'Airbnb'
spec.source = { git: 'https://github.com/airbnb/epoxy-ios.git', tag: version }
spec.source_files = "Sources/#{name}/**/*.swift"
spec.ios.deployment_target = '13.0'
spec.swift_versions = ['5.5']
local_deps.each do |dep|
spec.dependency dep, version
end
end