File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,31 @@ WebDriver BiDi is not ready. Here's what we have so far:
7
7
- An [ explainer] ( ./explainer.md ) with more background and goals
8
8
- Detailed [ proposals] ( ./proposals/ ) for the initial protocol
9
9
- A [ unofficial spec draft] ( https://w3c.github.io/webdriver-bidi/ ) waiting to be fleshed out
10
+
11
+
12
+ ## How to build the specification locally
13
+
14
+ We use [ bikeshed] ( https://tabatkins.github.io/bikeshed/ ) to generate the specification.
15
+
16
+ Make sure you have the [ right version of python] ( https://tabatkins.github.io/bikeshed/#install-py3 ) installed.
17
+
18
+ Now you can run in your terminal:
19
+ ```
20
+ ./scripts/build.sh --install
21
+ ```
22
+ This script will install ` bikeshed ` and generate an ` index.html ` file for the specification.
23
+
24
+ Later on, you can omit ` --install ` argument to skip the installation step.
25
+
26
+ ## How to generate CDDL locally
27
+
28
+ Make sure you have [ npm] ( https://docs.npmjs.com/downloading-and-installing-node-js-and-npm )
29
+ and [ rust] ( https://www.rust-lang.org/tools/install ) installed.
30
+
31
+ Now you can run in your terminal:
32
+ ```
33
+ ./scripts/test.sh --install
34
+ ```
35
+ This script will install required npm and cargo packages and generate CDDL.
36
+
37
+ Later on, you can omit ` --install ` argument to skip the installation step.
You can’t perform that action at this time.
0 commit comments