dpogue commented on a change in pull request #543: GH-542 Adding Podspec for Cordova library URL: https://github.com/apache/cordova-ios/pull/543#discussion_r259058767
########## File path: Cordova.podspec ########## @@ -0,0 +1,32 @@ +Pod::Spec.new do |s| + s.name = "Cordova" + s.version = "5.1.0" + s.summary = "Cordova for iOS" + s.homepage = "https://github.com/apache/cordova-ios" + s.license = { :type => "Apache 2.0", :file => "LICENSE" } + s.author = { "Bharath Hariharan" => "[email protected]" } + s.platform = :ios, "11.0" + s.source = { :git => "https://github.com/apache/cordova-ios.git", + :tag => "{s.version}", + :submodules => true } + s.requires_arc = true + s.default_subspec = 'Cordova' + s.subspec 'Cordova' do |cordova| + cordova.source_files = 'CordovaLib/Classes/**/*.{h,m}', 'CordovaLib/Cordova/Cordova.h' + cordova.public_header_files = 'CordovaLib/Classes/Public/CDV.h', 'CordovaLib/Classes/Public/CDVAppDelegate.h', 'CordovaLib/Classes/Public/CDVAvailability.h', 'CordovaLib/Classes/Public/CDVAvailabilityDeprecated.h', 'CordovaLib/Classes/Public/CDVCommandDelegate.h', 'CordovaLib/Classes/Public/CDVCommandDelegateImpl.h', 'CordovaLib/Classes/Public/CDVCommandQueue.h', 'CordovaLib/Classes/Public/CDVConfigParser.h', 'CordovaLib/Classes/Public/CDVInvokedUrlCommand.h', 'CordovaLib/Classes/Public/CDVPlugin+Resources.h', 'CordovaLib/Classes/Public/CDVPlugin.h', 'CordovaLib/Classes/Public/CDVPluginResult.h', 'CordovaLib/Classes/Public/CDVScreenOrientationDelegate.h', 'CordovaLib/Classes/Public/CDVTimer.h', 'CordovaLib/Classes/Public/CDVURLProtocol.h', 'CordovaLib/Classes/Public/CDVUserAgentUtil.h', 'CordovaLib/Classes/Public/CDVViewController.h', 'CordovaLib/Classes/Public/CDVWebViewEngineProtocol.h', 'CordovaLib/Classes/Public/CDVWhitelist.h', 'CordovaLib/Classes/Public/NSDictionary+CordovaPreferences.h', 'CordovaLib/Classes/Public/NSMutableArray+QueueAdditions.h', 'CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewDelegate.h', 'CordovaLib/Cordova/Cordova.h' Review comment: Can we glob these headers instead of manually maintaining them? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
