diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-03-19 12:18:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 12:18:05 -0400 |
commit | fa3c35301aa44975776b96c85f200de8eb500c22 (patch) | |
tree | 76f8d5e6f42e1c306a40efd0b80dce18528952f4 /cli/version.rs | |
parent | c7d81fa9ff495986675c05e52e13acc9ffc85372 (diff) |
Rename //src/ to //cli/ (#1962)
To better distinguish the deno_core crate from the executable deno,
which will now be called "the cli" internally.
Diffstat (limited to 'cli/version.rs')
-rw-r--r-- | cli/version.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/version.rs b/cli/version.rs new file mode 100644 index 000000000..e6ec9008b --- /dev/null +++ b/cli/version.rs @@ -0,0 +1,6 @@ +// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. +pub const DENO: &str = env!("CARGO_PKG_VERSION"); + +pub fn v8() -> &'static str { + deno_core::v8_version() +} |