mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-07-30 20:01:26 +00:00
Correctly gen version
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "zecwallet-cli"
|
||||
version = "1.1.0"
|
||||
version = "1.3.2"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
|
@@ -8,10 +8,12 @@ use zecwalletlitelib::{commands,
|
||||
lightclient::{LightClient, LightClientConfig},
|
||||
};
|
||||
|
||||
pub mod version;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! configure_clapapp {
|
||||
( $freshapp: expr ) => {
|
||||
$freshapp.version("1.0.0")
|
||||
$freshapp.version(VERSION)
|
||||
.arg(Arg::with_name("dangerous")
|
||||
.long("dangerous")
|
||||
.help("Disable server TLS certificate verification. Use this if you're running a local lightwalletd with a self-signed certificate. WARNING: This is dangerous, don't use it with a server that is not your own.")
|
||||
|
@@ -3,7 +3,8 @@ use zecwallet_cli::{configure_clapapp,
|
||||
report_permission_error,
|
||||
startup,
|
||||
start_interactive,
|
||||
attempt_recover_seed};
|
||||
attempt_recover_seed,
|
||||
version::VERSION};
|
||||
use log::error;
|
||||
|
||||
pub fn main() {
|
||||
|
1
cli/src/version.rs
Normal file
1
cli/src/version.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub const VERSION:&str = "1.3.2";
|
Reference in New Issue
Block a user