diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2020-11-03 02:40:33 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 12:40:33 -0500 |
commit | 0e5c8c03ac9290e752d15c23e107bfbd97d03c72 (patch) | |
tree | 0c039f911ed7166f50d1ae1943c24fffe40f0ba2 /cli/flags.rs | |
parent | e3b096f6f69b4f4d8a4a57fc5da68c53c1cdc7ea (diff) |
add commit hash and target to long_version output (#8133)
Diffstat (limited to 'cli/flags.rs')
-rw-r--r-- | cli/flags.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/flags.rs b/cli/flags.rs index de98ee96c..42f8d60d7 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -221,8 +221,11 @@ To evaluate code in the shell: lazy_static! { static ref LONG_VERSION: String = format!( - "{}\nv8 {}\ntypescript {}", + "{} ({}, {}, {})\nv8 {}\ntypescript {}", crate::version::DENO, + crate::version::GIT_COMMIT_HASH, + env!("PROFILE"), + env!("TARGET"), crate::version::v8(), crate::version::TYPESCRIPT ); |