Skip to content

Commit

Permalink
[RFC][Move] Change move build output directory to something less generic
Browse files Browse the repository at this point in the history
Closes: aptos-labs#3629
Approved by: tnowacki
  • Loading branch information
JoelMarcey authored and bors-libra committed Apr 29, 2020
1 parent deee1a0 commit 2f2759b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ language/tools/vm-genesis/genesis/vm_config.toml

# Terraform
.terraform/

# Move Build Output
move_build_output/
2 changes: 1 addition & 1 deletion language/move-lang/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ FLAGS:
OPTIONS:
-s, --sender <address> The sender address for modules and scripts
-d, --dependencies <path-to-dependency-file>... The library files needed as dependencies
-o, --out-dir <path-to-output-directory> The directory for outputing move bytecode [default: output]
-o, --out-dir <path-to-output-directory> The move bytecode output directory [default: move_build_output]
-f, --source-files <path-to-source-file>... The source files to check and compile
```

Expand Down
2 changes: 1 addition & 1 deletion language/move-lang/src/bin/move-build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub struct Options {
)]
pub sender: Option<Address>,

/// The directory for outputing move bytecode
/// The move bytecode output directory
#[structopt(
name = "PATH_TO_OUTPUT_DIRECTORY",
short = cli::OUT_DIR_SHORT,
Expand Down
2 changes: 1 addition & 1 deletion language/move-lang/src/command_line/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub const SENDER_SHORT: &str = "s";

pub const OUT_DIR: &str = "out-dir";
pub const OUT_DIR_SHORT: &str = "o";
pub const DEFAULT_OUTPUT_DIR: &str = "output";
pub const DEFAULT_OUTPUT_DIR: &str = "move_build_output";

pub const SOURCE_MAP: &str = "source-map";
pub const SOURCE_MAP_SHORT: &str = "m";
Expand Down

0 comments on commit 2f2759b

Please sign in to comment.