From 9646f9ad79a10fe0e003f5e2c8f020428b182261 Mon Sep 17 00:00:00 2001 From: Clay-Mysten <100217682+Clay-Mysten@users.noreply.github.com> Date: Thu, 28 Apr 2022 07:39:38 -0700 Subject: [PATCH] Add dollar signs to commands in move.md (#1612) * Add dollar signs to commands in move.md * Update move.md Prepend title with Quickstart --- doc/src/build/move.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/src/build/move.md b/doc/src/build/move.md index 6274bd571d457..41b5b63d947d8 100644 --- a/doc/src/build/move.md +++ b/doc/src/build/move.md @@ -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 @@ -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 ``` @@ -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: @@ -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 @@ -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 @@ -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 ``` ---