Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions language/tools/move-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ cargo install --path move/language/tools/move-cli
```
or
```shell
$ cargo install --git https://github.com/diem/move move-cli --branch main
$ cargo install --git https://github.com/move-language/move move-cli --branch main
```

This will install the `move` binary in your Cargo binary directory. On
Expand Down Expand Up @@ -73,11 +73,11 @@ $ move package prove -p <path> # Verify the specifications in the package at <pa
```

In order to run the Move Prover [additional tools need to be
installed](https://github.com/diem/move/blob/main/language/move-prover/doc/user/install.md).
installed](https://github.com/move-language/move/blob/main/language/move-prover/doc/user/install.md).
Information on the Move Prover and its configuration options can be found
[here](https://github.com/diem/move/blob/main/language/move-prover/doc/user/prover-guide.md)
[here](https://github.com/move-language/move/blob/main/language/move-prover/doc/user/prover-guide.md)
and
[here](https://github.com/diem/move/blob/main/language/move-prover/doc/user/spec-lang.md).
[here](https://github.com/move-language/move/blob/main/language/move-prover/doc/user/spec-lang.md).

You can also run unit tests in a package using the `test` command

Expand Down Expand Up @@ -128,7 +128,7 @@ directory:
Std = "0x1" # Specify and assign 0x1 to the named address "Std"

[dependencies]
MoveNursery = { git = "https://github.com/diem/move.git", subdir = "language/move-stdlib/nursery", rev = "d45f20a" }
MoveNursery = { git = "https://github.com/move-language/move.git", subdir = "language/move-stdlib/nursery", rev = "d45f20a" }
# ^ ^ ^ ^
# Git dependency Git clone URL Subdir under git repo (optional) Git revision to use
```
Expand Down
13 changes: 10 additions & 3 deletions language/tools/move-cli/src/package/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,15 @@ pub fn create_move_package<S: AsRef<str> + fmt::Display>(
let mut w = std::fs::File::create(creation_path.join(SourcePackageLayout::Manifest.path()))?;
writeln!(
&mut w,
"[package]\nname = \"{}\"\nversion = \"0.0.0\"",
name
)?;
"[package]
name = \"{}\"
version = \"0.0.0\"

[dependencies]
MoveStdlib = {{ git = \"https://github.com/move-language/move.git\", subdir = \"language/move-stdlib\", rev = \"main\" }}

[addresses]
Std = \"0x1\"
", name)?;
Ok(())
}