-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? # to your account
β¨π« Add CocoaPods podspec #132
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# | ||
# Commandant.podspec | ||
# Commandant | ||
# | ||
|
||
# Be sure to run `pod spec lint Commandant.podspec' to ensure this is a | ||
# valid spec and to remove all comments including this before submitting the spec. | ||
# | ||
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html | ||
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ | ||
# | ||
|
||
Pod::Spec.new do |s| | ||
s.name = "Commandant" | ||
s.version = "0.14.0" | ||
s.summary = "Type-safe command line argument handling" | ||
s.description = <<-DESC | ||
Commandant is a Swift framework for parsing command-line arguments, inspired by Argo | ||
(which is, in turn, inspired by the Haskell library Aeson). | ||
DESC | ||
|
||
s.homepage = "https://github.com/Carthage/Commandant" | ||
s.license = { type: "MIT", file: "LICENSE.md" } | ||
s.authors = { "Carthage contributors" => "https://github.com/Carthage/Commandant/graphs/contributors" } | ||
|
||
# βββ Platform Specifics βββββββββββββββββββββββββββββββββββββββββββββββββββββββ # | ||
# | ||
|
||
s.platform = :osx, "10.9" | ||
|
||
# βββ Source Location ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ # | ||
# | ||
|
||
s.source = { git: "https://github.com/Carthage/Commandant.git", tag: s.version } | ||
|
||
|
||
# βββ Source Code ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ # | ||
# | ||
|
||
s.source_files = "Sources/**/*.swift" | ||
# s.exclude_files = "Classes/Exclude" | ||
# s.public_header_files = "Classes/**/*.h" | ||
|
||
|
||
|
||
# s.preserve_paths = "FilesToSave", "MoreFilesToSave" | ||
|
||
|
||
# βββ Project Linking ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ # | ||
# | ||
# Link your library with frameworks, or libraries. Libraries do not include | ||
# the lib prefix of their name. | ||
# | ||
|
||
# s.framework = "SomeFramework" | ||
# s.frameworks = "SomeFramework", "AnotherFramework" | ||
|
||
# s.library = "iconv" | ||
# s.libraries = "iconv", "xml2" | ||
|
||
|
||
# βββ Project Settings βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ # | ||
# | ||
# If your library depends on compiler flags you can set them in the xcconfig hash | ||
# where they will only apply to your library. If you depend on other Podspecs | ||
# you can include multiple dependencies to ensure it works. | ||
|
||
# s.requires_arc = true | ||
|
||
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } | ||
|
||
s.dependency "Result", "~> 4.0" | ||
|
||
end |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually wrong. At 0.14.0 this should be
~ 3.2
.https://github.com/Carthage/Commandant/blob/0.14.0/Cartfile#L1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dependencies are updated in #130 and not released yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, the spec can be patched