Skip to content

Commit

Permalink
[mpm] Add version derive for mpm (#3357)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar authored Apr 21, 2022
1 parent a3cecd8 commit 7b02ba5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vm/move-package-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name = "move-package-manager"
version = "1.11.1-alpha"
description = "CLI frontend for the Move compiler and VM"
repository = "https://github.com/starcoinorg/starcion"
homepage = "https://diem.com"
authors = ["Starcoin Core Dev <[email protected]>"]
homepage = "https://starcoin.org"
license = "Apache-2.0"
publish = false
edition = "2021"
Expand Down
2 changes: 2 additions & 0 deletions vm/move-package-manager/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ use starcoin_vm_runtime::natives::starcoin_natives;
use std::path::PathBuf;

#[derive(Parser)]
#[clap(author, version, about, long_about = None)]
pub struct CliOptions {
#[clap(flatten)]
move_args: Move,
Expand Down Expand Up @@ -69,6 +70,7 @@ fn main() -> Result<()> {
let error_descriptions: ErrorMapping =
bcs_ext::from_bytes(stdlib::ERROR_DESCRIPTIONS).expect("Decode err map failed");
let args: CliOptions = CliOptions::parse();

let move_args = &args.move_args;
let natives = starcoin_natives();
match args.cmd {
Expand Down

0 comments on commit 7b02ba5

Please sign in to comment.