|
| 1 | +# |
| 2 | +# Commandant.podspec |
| 3 | +# Commandant |
| 4 | +# |
| 5 | + |
| 6 | +# Be sure to run `pod spec lint Commandant.podspec' to ensure this is a |
| 7 | +# valid spec and to remove all comments including this before submitting the spec. |
| 8 | +# |
| 9 | +# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html |
| 10 | +# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ |
| 11 | +# |
| 12 | + |
| 13 | +Pod::Spec.new do |s| |
| 14 | + s.name = "Commandant" |
| 15 | + s.version = "0.14.0" |
| 16 | + s.summary = "Type-safe command line argument handling" |
| 17 | + s.description = <<-DESC |
| 18 | +Commandant is a Swift framework for parsing command-line arguments, inspired by Argo |
| 19 | +(which is, in turn, inspired by the Haskell library Aeson). |
| 20 | + DESC |
| 21 | + |
| 22 | + s.homepage = "https://github.com/Carthage/Commandant" |
| 23 | + s.license = { type: "MIT", file: "LICENSE.md" } |
| 24 | + s.authors = { "Carthage contributors" => "https://github.com/Carthage/Commandant/graphs/contributors" } |
| 25 | + |
| 26 | + # βββ Platform Specifics βββββββββββββββββββββββββββββββββββββββββββββββββββββββ # |
| 27 | + # |
| 28 | + |
| 29 | + s.platform = :osx, "10.9" |
| 30 | + |
| 31 | + # βββ Source Location ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ # |
| 32 | + # |
| 33 | + |
| 34 | + s.source = { git: "https://github.com/Carthage/Commandant.git", tag: s.version } |
| 35 | + |
| 36 | + |
| 37 | + # βββ Source Code ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ # |
| 38 | + # |
| 39 | + |
| 40 | + s.source_files = "Sources/**/*.swift" |
| 41 | +# s.exclude_files = "Classes/Exclude" |
| 42 | + # s.public_header_files = "Classes/**/*.h" |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + # s.preserve_paths = "FilesToSave", "MoreFilesToSave" |
| 47 | + |
| 48 | + |
| 49 | + # βββ Project Linking ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ # |
| 50 | + # |
| 51 | + # Link your library with frameworks, or libraries. Libraries do not include |
| 52 | + # the lib prefix of their name. |
| 53 | + # |
| 54 | + |
| 55 | + # s.framework = "SomeFramework" |
| 56 | + # s.frameworks = "SomeFramework", "AnotherFramework" |
| 57 | + |
| 58 | + # s.library = "iconv" |
| 59 | + # s.libraries = "iconv", "xml2" |
| 60 | + |
| 61 | + |
| 62 | + # βββ Project Settings βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ # |
| 63 | + # |
| 64 | + # If your library depends on compiler flags you can set them in the xcconfig hash |
| 65 | + # where they will only apply to your library. If you depend on other Podspecs |
| 66 | + # you can include multiple dependencies to ensure it works. |
| 67 | + |
| 68 | + # s.requires_arc = true |
| 69 | + |
| 70 | + # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } |
| 71 | + |
| 72 | + s.dependency "Result", "~> 4.0" |
| 73 | + |
| 74 | +end |
0 commit comments