Especially for use with CI, having a central location for cached frameworks (ideally with some sort of expiry) would be amazing.
carthage version: xcodebuild -version: --no-build? --no-use-binaries? --use-submodules? --cache-builds? Cartfile
<YOUR CARTFILE>
Carthage Output
<OUTPUT>
@ekimia I made https://github.com/blender/Rome that probably meets your needs.
@blender very cool, what are the main perks of using this vs carthage_cache?
Cartfile.resolved instead of caching the entire build folderCached artifacts
.version filesand many more features being developed among which
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have in one CI job multiple carthage steps. I would love to be able to do something like:
- export DERIVED_FILE_DIR=$(mktemp -d)
- export CARTHAGE_DERIVED_FILE_DIR=$(mktemp -d)
- export CARTHAGE_CACHE=$(tempdir -d)
- carthage bootstrap --derived-data $CARTHAGE_DERIVED_FILE_DIR --no-use-binaries --platform iOS --cache-builds
- carthage bootstrap --derived-data $CARTHAGE_DERIVED_FILE_DIR --no-use-binaries --platform iOS --cache-builds --project-directory AnotherOne
- carthage bootstrap --derived-data $CARTHAGE_DERIVED_FILE_DIR --no-use-binaries --platform iOS --cache-builds --project-directory ...
I had issues when same job was running in parallel for different branches so i added tempdir for derived data
Most helpful comment
Cartfile.resolvedinstead of caching the entire build folderCached artifacts
.versionfilesand many more features being developed among which