c3lang / c3c

Compiler for the C3 language
https://c3-lang.org
GNU Lesser General Public License v3.0
2.64k stars 155 forks source link

Parametrize `vendor-fetch` download output directory #1460

Closed MathiasFHemmer closed 22 hours ago

MathiasFHemmer commented 23 hours ago

Make vendor-fetch smarter by identifying in the current directory the project.json file and look for the lib path and download the files directly into it.

Since the key dependency-search-paths is an array, it could use the first entry, or maybe a new key specific for the curated libs? Maybe like default-lib-path or something.

It would also be ideal to have it as a parameter of the cli command

tomaskallup commented 23 hours ago

Duplicate of #1422

For people look for a workaround, there is --path cli option: c3c vendor-fetch raylib5 --path lib