diff --git a/README.md b/README.md index 93224edf..8009dc99 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,8 @@ Just run `topgrade`. It will run the following steps: * Node * Run `yarn global update` if yarn is installed. * Run `npm update -g` if NPM is installed and `npm root -g` is a path inside your home directory. -* Run `composer global update` if Composer's home directory is inside the home directory of the user. +* Run `composer global update` if Composer's home directory is inside the home directory of the + user. Run `valet install` after. * Upgrade Atom packages * Run `gem upgrade --user-install` if `~/.gem` exists * **Linux**: Update Flatpak packages diff --git a/src/steps/generic.rs b/src/steps/generic.rs index b20a1aad..a716c9f6 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -248,6 +248,11 @@ pub fn run_composer_update(base_dirs: &BaseDirs, dry_run: bool) -> Option<(&'sta .spawn()? .wait()? .check()?; + + if let Some(valet) = utils::which("valet") { + Executor::new(&valet, dry_run).arg("install").spawn()?.wait()?.check()?; + } + Ok(()) }() .is_ok();