Carthage support relies on the existence of:
- The
carthage
binary or$CARTHAGE_BINARY
to be set. Cartfile
orCartfile.private
for automatic configuration.Cartfile.resolved
for analysis.
Run fossa init
to detect all carthage projects by walking the file tree and searching for either a Cartfile
or a Cartfile.private
.
Add a module with type: cart
, and target
and dir
set to the directory where Cartfile.resolved
exists.
analyze:
modules:
- name: carthage-project
type: cart
target: python/project
dir: python/project
Carthage projects are analyzed by parsing a Cartfile.resolved
file and massaging the data into a dependency graph.