Skip to content

Commit 45e302a

Browse files
authored
Update CONTRIBUTING.md
1 parent dfaa6d9 commit 45e302a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ Specifically for code in this repo:
2424

2525
2. Anchor programs should be in directory `anchor`, programs written for Solana Native should be in directory `native`, TypeScript in `poseidon` and Python in `seahorse`.
2626

27-
3. Tests for Solana native, Steel and Anchor programs should be written with [ts-mocha](https://github.com/piotrwitek/ts-mocha).
27+
3. Tests for Solana native programs, steel framework programs, and Anchor should be written with [solana-bankrun](https://kevinheavey.github.io/solana-bankrun)
2828

29-
4. Tests for Solana native programs and steel framework programs should be written with [solana-bankrun](https://kevinheavey.github.io/solana-bankrun)
30-
31-
5. For Solana native programs and Steel framework programs ensure adding these mandatory pnpm run scripts to your `package.json` file for successful CI/CD builds:
29+
4. For Solana native programs and Steel framework programs ensure adding these mandatory pnpm run scripts to your `package.json` file for successful CI/CD builds:
3230

3331
```json
3432
"scripts": {
@@ -39,16 +37,16 @@ Specifically for code in this repo:
3937
},
4038
```
4139

42-
6. Test command for Anchor should execute `pnpm test` instead of `yarn run test` for anchor programs. Replace `yarn` with `pnpm` in `[script]` table inside [Anchor.toml file.](https://www.anchor-lang.com/docs/manifest#scripts-required-for-testing)
40+
5. Test command for Anchor should execute `pnpm test` instead of `yarn run test` for anchor programs. Replace `yarn` with `pnpm` in `[script]` table inside [Anchor.toml file.](https://www.anchor-lang.com/docs/manifest#scripts-required-for-testing)
4341

44-
7. TypeScript, JavaScript and JSON files are formatted and linted using
42+
6. TypeScript, JavaScript and JSON files are formatted and linted using
4543
[Biome](https://biomejs.dev/). Execute the following command to format and lint your code at the root of this project before submitting a pull request:
4644

4745
```bash
4846
pnpm check:fix
4947
```
5048

51-
8. Some projects can be ignored from the building and testing process by adding the project name to the `.gitignore` file.
49+
7. Some projects can be ignored from the building and testing process by adding the project name to the `.gitignore` file.
5250
When removing or updating an example, please ensure that the example is removed from the `.gitignore` file
5351
and there's a change in that example's directory.
5452

0 commit comments

Comments
 (0)