Support yadm (fix #464) (#470)

This commit is contained in:
Roey Darwish Dror
2020-07-11 08:00:35 +03:00
committed by GitHub
parent 25b6b97d38
commit e8851af90c
3 changed files with 10 additions and 0 deletions

View File

@@ -76,6 +76,14 @@ pub fn run_nix(ctx: &ExecutionContext) -> Result<()> {
run_type.execute(&nix_env).arg("--upgrade").check_run()
}
pub fn run_yadm(ctx: &ExecutionContext) -> Result<()> {
let yadm = require("yadm")?;
print_separator("yadm");
ctx.run_type().execute(&yadm).arg("pull").check_run()
}
pub fn run_asdf(run_type: RunType) -> Result<()> {
let asdf = require("asdf")?;