xtask release

This commit is contained in:
Aleksey Kladov 2020-02-10 15:32:03 +01:00
parent 1b6acc391a
commit 57147d7471
3 changed files with 48 additions and 2 deletions

View file

@ -14,7 +14,7 @@ use pico_args::Arguments;
use xtask::{
codegen::{self, Mode},
install::{ClientOpt, InstallCmd, ServerOpt},
pre_commit, run_clippy, run_fuzzer, run_pre_cache, run_rustfmt, Result,
pre_commit, run_clippy, run_fuzzer, run_pre_cache, run_release, run_rustfmt, Result,
};
fn main() -> Result<()> {
@ -92,6 +92,10 @@ FLAGS:
args.finish()?;
run_pre_cache()
}
"release" => {
args.finish()?;
run_release()
}
_ => {
eprintln!(
"\