|
|
@ -11,7 +11,8 @@ class CargoInstall:
|
|
|
|
|
|
|
|
|
|
|
|
def run(self):
|
|
|
|
def run(self):
|
|
|
|
if shutil.which('cargo') is None:
|
|
|
|
if shutil.which('cargo') is None:
|
|
|
|
print(f"skip [cargo-install {self.label}]: cargo not found")
|
|
|
|
print(f"SKIP [cargo-install {self.label}]: cargo not found")
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
if missing := self.crates - self.installed:
|
|
|
|
if missing := self.crates - self.installed:
|
|
|
|
print(f"installing missing cargo binaries: {missing}")
|
|
|
|
print(f"installing missing cargo binaries: {missing}")
|
|
|
|