Support sheldon (#487)

This commit is contained in:
Roey Darwish Dror
2020-07-30 06:27:29 +03:00
committed by GitHub
parent 806741b6fa
commit 4171b329ba
3 changed files with 10 additions and 0 deletions

View File

@@ -53,6 +53,14 @@ pub fn run_gem(base_dirs: &BaseDirs, run_type: RunType) -> Result<()> {
run_type.execute(&gem).args(&["update", "--user-install"]).check_run()
}
pub fn run_sheldon(ctx: &ExecutionContext) -> Result<()> {
let sheldon = utils::require("sheldon")?;
print_separator("Sheldon");
ctx.run_type().execute(&sheldon).args(&["lock", "--update"]).check_run()
}
#[cfg(not(any(
target_os = "freebsd",
target_os = "openbsd",