Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed May 3, 2024
1 parent f10f0a9 commit abc2119
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Clone the `gno` repository from `gnoswap-labs`. And switch to the `master_202404
$ cd $WORKDIR
$ git clone https://github.com/gnoswap-labs/gno.git gno
$ cd gno
$ git checkout master_20240401
$ git checkout master_gs
$ make install
```

Expand All @@ -42,17 +42,17 @@ To run unit tests, follow these steps:

```
# copy grc20 tokens
$ cp -R __local/grc20_tokens/* $WORK_DIR/gno/examples/gno.land/r/demo
$ cp -R _deploy/r/demo/* $WORK_DIR/gno/examples/gno.land/r/demo
$ cp -R __local/grc20_tokens/* $WORKDIR/gno/examples/gno.land/r/demo
$ cp -R _deploy/r/demo/* $WORKDIR/gno/examples/gno.land/r/demo
# copy gnoswap base packages ( includes uint256, int256 and bit of pool calculation )
$ cp -R _deploy/p/demo/gnoswap $WORK_DIR/gno/examples/gno.land/p/demo
$ cp -R _deploy/p/demo/gnoswap $WORKDIR/gno/examples/gno.land/p/demo
# copy gnoswap base realms ( includes common logic, variables and consts )
$ cp -R _deploy/r/gnoswap $WORK_DIR/gno/examples/gno.land/r/gnoswap
$ cp -R _deploy/r/demo/gnoswap $WORKDIR/gno/examples/gno.land/r/demo/gnoswap
# copy gnoswap realms
$ cp -R gov pool position router staker $WORK_DIR/gno/examples/gno.land/r/demo
$ cp -R gov pool position router staker $WORKDIR/gno/examples/gno.land/r/demo
```

3. Move all test cases into its own directory:
Expand Down Expand Up @@ -82,7 +82,8 @@ To run unit tests, follow these steps:
### Run the Test Cases

```
$ gno test -root-dir $WORKDIR/gno-for-swap -verbose=true $WORKDIR/gno/examples/gno.land/r/demo/{CONTRACT_FOLDER_HERE}
$ cd $WORKDIR
$ gno test -root-dir $WORKDIR/gno -v=true $WORKDIR/gno/examples/gno.land/r/demo/{CONTRACT_FOLDER_HERE}
```

## Integration Tests
Expand Down

0 comments on commit abc2119

Please sign in to comment.