Closed Bug 1136875 Opened 9 years ago Closed 7 years ago

Improve the process for checking out Carthage dependencies

Categories

(Firefox for iOS :: Build & Test, defect)

All
iOS 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bnicholson, Unassigned)

References

Details

It might be nice to have a setup script that runs the necessary "carthage checkout --no-use-binaries" command, and even perhaps downloads and installs carthage. This could make our initialization process a bit less confusing as we continue to experiment with Carthage; we already expect that we'll be dropping the --no-use-binaries requirement at some point in the future.

But even with a helper script, people will need to re-run it whenever a dependency is added or updated. Wes pointed out that Xcode can automatically run scripts when building, so maybe carthage checkout is something we should add as a build script.

Another option would be to commit our dependencies in the tree. This is mentioned as a viable option at [1], and would mean that the necessary dependencies' sources would be pulled into the project with git. In other words, contributors wouldn't even need to install carthage.

[1] https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#carthagecheckouts
We've got the bootstrap script for this now.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.