You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,35 @@ More about the [SpiderMonkey runtime embedding](https://github.com/bytecodeallia
357
357
358
358
Coming.
359
359
360
+
## CI
361
+
362
+
### Testing
363
+
364
+
The `pluginlab` binary is built and tested e2e (using `rexpect` library).
365
+
366
+
The `web-host` is built and tested e2e (using [playwright](https://playwright.dev/)).
367
+
368
+
### Deployment
369
+
370
+
The `web-host` is automatically deployed to github pages when pushed on the `master` branch, containing the latest `wasm` versions of the plugins available at https://topheman.github.io/webassembly-component-model-experiments/plugins.
When a git tag is pushed, a pre-release is prepared on github, linked to the tag, containing the `wasm` files for the plugins and the repl-logic, in order to version those. That way, you can use an old binary of `pluginlab` against the correct versions of the plugins:
Copy file name to clipboardExpand all lines: crates/pluginlab/README.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ cargo install pluginlab
51
51
52
52
## Usage
53
53
54
-
Run the CLI host, loading the plugins from the web (you can also load them from local files).
54
+
Run the CLI host, loading the latest versions of the plugins from the web (you can also load them from local files).
55
55
56
56
```bash
57
57
pluginlab\
@@ -75,7 +75,6 @@ Other flags:
75
75
-`--help`: displays manual
76
76
-`--debug`: run the host in debug mode (by default, the host runs in release mode)
77
77
78
-
79
78
<details>
80
79
<summary>🚀 Example of running the CLI host</summary>
81
80
<pre>
@@ -124,3 +123,23 @@ Hello, Tophe!
124
123
repl(0)>
125
124
</pre>
126
125
</details>
126
+
127
+
### Versioning
128
+
129
+
The plugins are also versioned in [github releases](https://github.com/topheman/webassembly-component-model-experiments/releases), you can use them if you want to use an old version of the plugins.
130
+
131
+
<summary>
132
+
<details>
133
+
<summary>Example of running the CLI host with old versions of the plugins (if you have an old version of <code>pluginlab</code></summary>
0 commit comments