tldr/pages/osx/carthage.md

25 lines
575 B
Markdown
Raw Normal View History

2017-03-01 04:54:20 +00:00
# carthage
2017-04-21 17:16:12 +01:00
> A dependency management tool for Cocoa applications.
> More information: <https://github.com/Carthage/Carthage>.
2017-03-01 04:54:20 +00:00
2017-04-21 17:16:12 +01:00
- Download the latest version of all dependencies mentioned in Cartfile, and build them:
2017-03-01 04:54:20 +00:00
`carthage update`
2017-04-21 17:16:12 +01:00
- Update dependencies, but only build for iOS:
2017-03-01 04:54:20 +00:00
`carthage update --platform ios`
2017-04-21 17:16:12 +01:00
- Update dependencies, but don't build any of them:
2017-03-01 04:54:20 +00:00
`carthage update --no-build`
2017-04-21 17:16:12 +01:00
- Download and rebuild the current version of dependencies (without updating them):
2017-03-01 04:54:20 +00:00
`carthage bootstrap`
- Rebuild a specific dependency:
`carthage build {{dependency}}`