mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-16 07:37:10 +00:00
solidity: rename the revive metadata (#106)
Rename the revive metadata fields and includes the commit hash and LLVM version in the revive version (similar to what solc does). Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
1 parent
37ab2b6782
commit
173ace72cb
9 files changed
+56
-46
No files matched your search
@@ -31,11 +31,9 @@ fn main_inner() -> anyhow::Result<()> {
|
||||
|
||||
if arguments.version {
|
||||
println!(
|
||||
"{} version {}+commit.{} (LLVM build {:?})",
|
||||
"{} version {}",
|
||||
env!("CARGO_PKG_DESCRIPTION"),
|
||||
env!("CARGO_PKG_VERSION"),
|
||||
env!("GIT_COMMIT_HASH"),
|
||||
inkwell::support::get_llvm_version(),
|
||||
revive_solidity::ResolcVersion::default().long
|
||||
);
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user