Add rtcl::rupdate (#525)
* Add rtcl::rupdate Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com> * Using `rtcl` as seperator Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
This commit is contained in:
@@ -121,6 +121,14 @@ pub fn run_jetpack(run_type: RunType) -> Result<()> {
|
||||
run_type.execute(&jetpack).args(&["global", "update"]).check_run()
|
||||
}
|
||||
|
||||
pub fn run_rtcl(ctx: &ExecutionContext) -> Result<()> {
|
||||
let rupdate = utils::require("rupdate")?;
|
||||
|
||||
print_separator("rtcl");
|
||||
|
||||
ctx.run_type().execute(&rupdate).check_run()
|
||||
}
|
||||
|
||||
pub fn run_opam_update(run_type: RunType) -> Result<()> {
|
||||
let opam = utils::require("opam")?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user