mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
github actions: simplify ci.yml, test js backend on windows
This commit is contained in:
parent
f1d5f8e2bf
commit
104e4c9fc7
3 changed files with 40 additions and 31 deletions
|
@ -143,6 +143,8 @@ glfw dependency will be removed soon.
|
|||
|
||||
## JavaScript backend
|
||||
|
||||
[examples/hello_v_js.v](examples/hello_v_js.v):
|
||||
|
||||
```
|
||||
fn main() {
|
||||
for i := 0; i < 3; i++ {
|
||||
|
@ -152,7 +154,7 @@ fn main() {
|
|||
```
|
||||
|
||||
```bash
|
||||
v -o hi.js hi.v && node hi.js
|
||||
v -o hi.js examples/hello_v_js.v && node hi.js
|
||||
Hello from V.js
|
||||
Hello from V.js
|
||||
Hello from V.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue