From 85fa31d972b86837e7e2f49d4a86f3499d543cb6 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Fri, 31 May 2019 09:18:30 -0700 Subject: [PATCH] Mention wasm tests in contributing doc --- docs/section-6-contributing.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/section-6-contributing.md b/docs/section-6-contributing.md index 157170e4..31e27f5b 100644 --- a/docs/section-6-contributing.md +++ b/docs/section-6-contributing.md @@ -5,6 +5,8 @@ permalink: contributing # Contributing +## Code of Conduct + ## Developing Tree-sitter ### Prerequisites @@ -65,6 +67,13 @@ Then you can run the tests: script/test ``` +Similarly, to test the WASM binding, you need to compile these parsers to WASM: + +```sh +script/generate-fixtures-wasm +script/test-wasm +``` + ### Debugging The test script has a number of useful flags. You can list them all by running `script/test -h`. Here are some of the main flags: