#Carthage Workarounds Shell scripts to make life a little easier when using Carthage.
Check my article Saving precious time when building Carthage dependencies.
##carthage-build.sh Workaround for Carthage to avoid rebuilding all your dependencies every time you want to add a new one to your Cartfile.
- Builds a single dependency using Carthage and merges it with the existing ones.
- Updates your Cartfile with the new dependency.
Run carthage-build from the same directory where you have your Cartfile/Carthage directory:
./carthage-build.sh --dependency 'github "ruipfcosta/SwiftyWalkthrough"'
The default carthage command used to build the dependencies is
carthage update --no-use-binaries --platform iOS. If that doesn't suit your needs you can specify the command when running the script:
./carthage-build.sh --dependency 'github "ruipfcosta/SwiftyWalkthrough"' --command "carthage update"
For a more permanent solution you can simply edit the value of the variable
Owned and maintained by Rui Costa (@ruipfcosta).
Bug reports and pull requests are welcome.
Carthage-Workarounds is released under the MIT license. See LICENSE for details.