Open Solthodox opened 1 month ago
you can use soldeer update
, this looks in the foundry.toml
and installs all the dependencies.
e.g.
You git clone
your project that has a foundry.toml
(or soldeer.toml
) with dependencies
You run soldeer update
you can run forge build
Oh nice, still, it's not very intuitive doing it like that, in my brain as a user first thing I try to do when installing the dependencies is run soldeer install
.
then maybe a solution is in case there is nothing specified, just run soldeer update
.
Coming from other javascript package managers I believe soldeer install
is the "normal" approach. When updating a dependency it's less likely for you to update the .toml
and more likely to do an atomic soldeer install <dependency>
I noticed Soldeer has a
soldeer install <dependency>
command but doesn't have asoldeer install
one(similar tonpm install
)to install the dependencies of a already existing project that already has the Soldeer dependencies infoundry.toml
and asoldeer.lock
file. It would be nice having such option sinceforge build
won't work in this case.