Skip to content

Commit

Permalink
update readme battle and warrior
Browse files Browse the repository at this point in the history
  • Loading branch information
MedovTimur committed Oct 21, 2024
1 parent b728934 commit 4e35f2b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
12 changes: 12 additions & 0 deletions contracts/battle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,15 @@ The program workspace includes the following packages:
- `battle-client` is the package containing the client for the program allowing to interact with it from another program, tests, or
off-chain client.


### 🏗️ Building

```sh
cargo b -r -p "battle"
```

### ✅ Testing

```sh
cargo t -r -p "battle"
```
10 changes: 4 additions & 6 deletions contracts/battle/warrior/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
## The **warrior** program

The program workspace includes the following packages:
- `warrior` is the package allowing to build WASM binary for the program and IDL file for it.
The package also includes integration tests for the program in the `tests` sub-folder
- `warrior-app` is the package containing business logic for the program represented by the `WarriorService` structure.
- `warrior-client` is the package containing the client for the program allowing to interact with it from another program, tests, or
off-chain client.
### 🏗️ Building

```sh
cargo b -r -p "warrior*"
```

0 comments on commit 4e35f2b

Please sign in to comment.