arduino-cli icon indicating copy to clipboard operation
arduino-cli copied to clipboard

Fetch dependencies when installing from .zip

Open qfisch opened this issue 1 year ago • 0 comments
trafficstars

Describe the request

It would be really great if the following command: arduino-cli lib install --zip-path ./myzip-lib.zip would also fetch the dependencies listed in the library.properties.

Describe the current behavior

Currently the dependencies are only fetched when installing packets from the library manager:
( arduino-cli lib install my-lib-name )

Arduino CLI version

nightly-20240221

Operating system

Linux

Operating system version

Ubuntu 22.04 LTS

Additional context

That would be really useful for CI/CD usage. In our case we want to install the lib and all the dependencies in order to compile the examples. We currently install manually the dependencies but it could lead to discrepancies between the CI script and the library.properties...

Issue checklist

  • [X] I searched for previous requests in the issue tracker
  • [X] I verified the feature was still missing when using the nightly build
  • [X] My request contains all necessary details

qfisch avatar Feb 21 '24 09:02 qfisch