Skip to content

Commit

Permalink
Merge pull request #1329 from wordpress-mobile/podspec-std
Browse files Browse the repository at this point in the history
[Tooling] Standardize podspec format
  • Loading branch information
AliSoftware authored Mar 29, 2021
2 parents d26c0ed + 2c23d6f commit e0cb3c9
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 54 deletions.
43 changes: 16 additions & 27 deletions WordPress-Aztec-iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,42 +1,31 @@
#
# Be sure to run `bundle exec pod lib lint WordPress-Aztec-iOS.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
s.name = 'WordPress-Aztec-iOS'
s.version = '1.19.4'
s.summary = 'The native HTML Editor.'
s.name = 'WordPress-Aztec-iOS'
s.version = '1.19.4'

s.summary = 'The native HTML Editor.'
s.description = <<-DESC
The native HTML Editor by Automattic Inc.
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
This library provides a UITextView subclass with HTML visual editing capabilities.
DESC

s.description = <<-DESC
The native HTML Editor by Automattic Inc.
DESC
s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS'
s.license = { :type => 'MPLv2', :file => 'LICENSE.md' }
s.author = { 'The WordPress Mobile Team' => 'mobile@wordpress.org' }

s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MPLv2', :file => 'LICENSE.md' }
s.author = { 'Automattic' => 'mobile@automattic.com', 'Diego Rey Mendez' => 'diego.rey.mendez@automattic.com', 'Sergio Estevao' => 'sergioestevao@gmail.com', 'Jorge Leandro Perez' => 'jorge.perez@automattic.com' }
s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '11.0'
s.swift_version = '5.0'

s.source = { :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :tag => s.version.to_s }
s.module_name = "Aztec"
s.source_files = 'Aztec/Classes/**/*'
s.resource_bundles = {
'WordPress-Aztec-iOS': [
"Aztec/Assets/**/*"
]
}

s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2',
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'}
s.xcconfig = {
'OTHER_LDFLAGS' => '-lxml2',
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'
}
end
45 changes: 18 additions & 27 deletions WordPress-Editor-iOS.podspec
Original file line number Diff line number Diff line change
@@ -1,39 +1,30 @@
#
# Be sure to run `bundle exec pod lib lint WordPress-Editor-iOS.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
s.name = 'WordPress-Editor-iOS'
s.version = '1.19.4'
s.summary = 'The WordPress HTML Editor.'
s.name = 'WordPress-Editor-iOS'
s.version = '1.19.4'

s.summary = 'The WordPress HTML Editor.'
s.description = <<-DESC
The WordPress HTML Editor by Automattic Inc.
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
This library provides a UITextView subclass with HTML visual editing capabilities.
Use this library if you want to create an App that interacts with WordPress HTML content.
DESC

s.description = <<-DESC
The WordPress HTML Editor by Automattic Inc.
DESC
s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS'
s.license = { :type => 'MPLv2', :file => 'LICENSE.md' }
s.author = { 'The WordPress Mobile Team' => 'mobile@wordpress.org' }

s.homepage = 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MPLv2', :file => 'LICENSE.md' }
s.author = { 'Automattic' => 'mobile@automattic.com', 'Diego Rey Mendez' => 'diego.rey.mendez@automattic.com', 'Sergio Estevao' => 'sergioestevao@gmail.com', 'Jorge Leandro Perez' => 'jorge.perez@automattic.com' }
s.source = { :git => 'https://github.com/wordpress-mobile/WordPress-Aztec-iOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '11.0'
s.swift_version = '5.0'

s.source = { :git => 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', :tag => s.version.to_s }
s.module_name = "WordPressEditor"
s.source_files = 'WordPressEditor/WordPressEditor/Classes/**/*'
s.resources = 'WordPressEditor/WordPressEditor/Assets/**/*'

s.xcconfig = {'OTHER_LDFLAGS' => '-lxml2',
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'}
s.xcconfig = {
'OTHER_LDFLAGS' => '-lxml2',
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'
}

s.dependency "WordPress-Aztec-iOS", s.version.to_s
end

0 comments on commit e0cb3c9

Please sign in to comment.