1
0
mirror of https://github.com/jht5945/buildj.git synced 2025-12-29 02:10:04 +08:00

add print_version

This commit is contained in:
2019-08-11 12:01:51 +08:00
parent 86b7b85776
commit b6933ff3b8
2 changed files with 12 additions and 0 deletions

View File

@@ -124,6 +124,8 @@ fn do_with_buildin_args(args: &Vec<String>) {
let first_arg = args.get(1).unwrap();
if first_arg == ":::" || first_arg == ":::help" {
print_usage();
} else if first_arg == ":::version" {
print_version();
} else if first_arg == ":::create" {
create_build_json(&args);
} else if first_arg.starts_with(":::java") {