bvanseg / ccake

A command line tool written in Rust and designed to be a modern build tool + package manager for C/C++ projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verify that a tool/lib is already installed before attempting to install

bvanseg opened this issue · comments

Is your feature request related to a problem? Please describe.
Currently, install scripts will run with no problem, even if the installed tool/library is already present. This ideally shouldn't happen.

Describe the solution you'd like
Within the ccake install command logic, verify that the target tool/lib is already present on the system before attempting to download. If the user really wants to redownload the package, they should be allowed to with a --force/-f flag (Ex. ccake install mingw --force or ccake install mingw -f).

Describe alternatives you've considered
N/A

Additional context
N/A