Racket package manager support (#667)
This commit is contained in:
@@ -98,6 +98,7 @@ pub enum Step {
|
|||||||
Pip3,
|
Pip3,
|
||||||
Pkg,
|
Pkg,
|
||||||
Powershell,
|
Powershell,
|
||||||
|
Raco,
|
||||||
Remotes,
|
Remotes,
|
||||||
Restarts,
|
Restarts,
|
||||||
Rtcl,
|
Rtcl,
|
||||||
|
|||||||
@@ -312,6 +312,7 @@ fn run() -> Result<()> {
|
|||||||
generic::run_gcloud_components_update(run_type)
|
generic::run_gcloud_components_update(run_type)
|
||||||
})?;
|
})?;
|
||||||
runner.execute(Step::Micro, "micro", || generic::run_micro(run_type))?;
|
runner.execute(Step::Micro, "micro", || generic::run_micro(run_type))?;
|
||||||
|
runner.execute(Step::Raco, "raco", || generic::run_raco_update(run_type))?;
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -398,3 +398,11 @@ pub fn run_dotnet_upgrade(ctx: &ExecutionContext) -> Result<()> {
|
|||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn run_raco_update(run_type: RunType) -> Result<()> {
|
||||||
|
let raco = utils::require("raco")?;
|
||||||
|
|
||||||
|
print_separator("Racket Package Manager");
|
||||||
|
|
||||||
|
run_type.execute(&raco).args(&["pkg", "update", "--all"]).check_run()
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user