Skip to content

Commit

Permalink
Add dollar signs to commands in move.md (MystenLabs#1612)
Browse files Browse the repository at this point in the history
* Add dollar signs to commands in move.md

* Update move.md

Prepend title with Quickstart
  • Loading branch information
Clay-Mysten authored Apr 28, 2022
1 parent 479e4c7 commit 9646f9a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions doc/src/build/move.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Smart Contracts with Move
title: Quickstart Smart Contracts with Move
---

Welcome to the Sui tutorial for building smart contracts with
Expand Down Expand Up @@ -313,7 +313,7 @@ described earlier.
So from the same directory containing the `sui` repository, run:

``` shell
mkdir -p my_move_package/sources
$ mkdir -p my_move_package/sources
touch my_move_package/sources/M1.move
touch my_move_package/Move.toml
```
Expand Down Expand Up @@ -409,7 +409,7 @@ MyFirstPackage = "0x0"
Ensure you are in the `my_move_package` directory containing your package and build it:

``` shell
sui-move build
$ sui-move build
```

A successful build yields results resembling:
Expand Down Expand Up @@ -438,7 +438,7 @@ upon executing the following command (in the `my_move_package`
directory as per our running example):

``` shell
sui-move test
$ sui-move test
```

If you execute this command for the package created in the
Expand Down Expand Up @@ -489,7 +489,7 @@ read-only reference argument.
Now that we have written a test, let's try to run the tests again:

``` shell
sui-move test
$ sui-move test
```

After running the test command, however, instead of a test result we
Expand Down Expand Up @@ -568,15 +568,15 @@ Test result: OK. Total tests: 1; passed: 1; failed: 0
```
---
**TIPS**
If you only want to run a subset of the unit tests, you can filter by test name using the `--filter` option. Example:
**Tip:**
If you want to run only a subset of the unit tests, you can filter by test name using the `--filter` option. Example:
```
sui-move test --filter sword
$ sui-move test --filter sword
```
The above command will run all tests whose name contains "sword".
You can discover more testing options through:
```
sui-move test -h
$ sui-move test -h
```
---
Expand Down

0 comments on commit 9646f9a

Please sign in to comment.