@@ -60,8 +60,8 @@ enum Commands {
6060 } ,
6161 /// Update all dependencies.
6262 Update ,
63- /// Run lints and compile .
64- Check ,
63+ /// Run lints and tests .
64+ Test ,
6565 /// Build everything.
6666 Build ,
6767 /// Steps to run before `cargo dist build`.
@@ -320,7 +320,7 @@ fn run_update() -> Result<(), Box<dyn std::error::Error>> {
320320 Ok ( ( ) )
321321}
322322
323- fn run_check ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
323+ fn run_test ( ) -> Result < ( ) , Box < dyn std:: error:: Error > > {
324324 // On Windows, `cargo sort --check` fails since it default to LF, not CRLF,
325325 // line endings. Work around this by changing this setting only on Windows.
326326 // See the
@@ -422,7 +422,7 @@ impl Cli {
422422 match & self . command {
423423 Commands :: Install { dev } => run_install ( * dev) ,
424424 Commands :: Update => run_update ( ) ,
425- Commands :: Check => run_check ( ) ,
425+ Commands :: Test => run_test ( ) ,
426426 Commands :: Build => run_build ( ) ,
427427 Commands :: Prerelease => run_prerelease ( ) ,
428428 Commands :: Postrelease { target, .. } => run_postrelease ( target) ,
0 commit comments