github.com/joey-fossa/fossa-cli@v0.7.34-0.20190708193710-569f1e8679f0/docs/integrations/carthage.md (about)

     1  # Carthage
     2  
     3  ## Support
     4  
     5  Carthage support relies on the existence of:
     6  1. The `carthage` binary or `$CARTHAGE_BINARY` to be set.
     7  2. `Cartfile` or `Cartfile.private` for automatic configuration.
     8  3. `Cartfile.resolved` for analysis.
     9  
    10  ## Configuaration
    11  
    12  ### Automatic
    13  
    14  Run `fossa init` to detect all carthage projects by walking the file tree and searching for either a `Cartfile` or a `Cartfile.private`.
    15  
    16  ### Manual
    17  
    18  Add a module with `type: cart`, and `target` and `dir` set to the directory where `Cartfile.resolved` exists.
    19  
    20  ```yaml
    21  analyze:
    22    modules:
    23      - name: carthage-project
    24        type: cart
    25        target: python/project
    26        dir:  python/project
    27  ```
    28  
    29  ## Analysis
    30  
    31  Carthage projects are analyzed by parsing a `Cartfile.resolved` file and massaging the data into a dependency graph.