-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: enable cocoapods for --all-projects scanning #965
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -193,6 +193,12 @@ function chooseBestManifest( | |
)[0]; | ||
return defaultManifest.path; | ||
} | ||
case 'cocoapods': { | ||
const defaultManifest = files.filter((path) => | ||
['Podfile'].includes(path.base), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not a blocker, just a question why not There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no reason copy + 🍝, will update in the next PR There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because it's only relevant for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is relevant for any ecosystem where more than 1 manifest file can be detected in the same folder and we need to choose. Example: |
||
)[0]; | ||
return defaultManifest.path; | ||
} | ||
default: { | ||
return null; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
target 'SampleApp' do | ||
platform :ios, '6.0' | ||
pod 'Reachability', '3.1.0' | ||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
PODS: | ||
- Reachability (3.1.0) | ||
|
||
DEPENDENCIES: | ||
- Reachability (= 3.1.0) | ||
|
||
SPEC REPOS: | ||
trunk: | ||
- Reachability | ||
|
||
SPEC CHECKSUMS: | ||
Reachability: 3c8fe9643e52184d17f207e781cd84158da8c02b | ||
|
||
PODFILE CHECKSUM: eef52b2296b88c87f94cf0f232f010176b9f11cd |
This file was deleted.
This file was deleted.
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.
only run this check if we are not in
Docker
orall-projects
mode as it will fail when no supported manifests are found