Skip to content

Commit e98362f

Browse files
[skip ci] Add make regenerate_swiftpm_resources to the contributing guide
1 parent fbfaf2b commit e98362f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: CONTRIBUTING.md

+10
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,15 @@ Thank you for considering contributing to JavaScriptKit! We welcome contribution
6565
make test SWIFT_SDK_ID=wasm32-unknown-wasi
6666
```
6767

68+
### Editing `./Runtime` directory
69+
70+
The `./Runtime` directory contains the JavaScript runtime that interacts with the JavaScript environment and Swift code.
71+
The runtime is written in TypeScript and is checked into the repository as compiled JavaScript files.
72+
To make changes to the runtime, you need to edit the TypeScript files and regenerate the JavaScript files by running:
73+
74+
```bash
75+
make regenerate_swiftpm_resources
76+
```
77+
6878
## Support
6979
If you have any questions or need assistance, feel free to reach out via [GitHub Issues](https://github.com/swiftwasm/JavaScriptKit/issues) or [Discord](https://discord.gg/ashJW8T8yp).

0 commit comments

Comments
 (0)