Skip to content

Commit 5acb2e3

Browse files
committed
first commmit
0 parents  commit 5acb2e3

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# pyjs-code-runner
2+
3+
Write cross platform build scripts with the power of Python!
4+
To be used in the `boa` project.
5+
6+
Currently supports `CMake`, `Autotools`, `Meson` and `Make`.
7+
8+
## Examples
9+
10+
More coming soon!
11+
12+
### CMake
13+
14+
```bash
15+
# run in node backend
16+
pyjs_code_runner run script \
17+
node \
18+
--conda-env /home/web_user/env \
19+
--mount ~/src/pyjs/tests:/tests \
20+
--script main.py \
21+
--work-dir /tests \
22+
--async-main
23+
24+
```
25+
26+
27+
```bash
28+
# run in browser-main-thread backend
29+
# in a headless fashion
30+
pyjs_code_runner run script \
31+
browser-main \
32+
--conda-env /home/web_user/env \
33+
--mount ~/src/pyjs/tests:/tests \
34+
--script main.py \
35+
--work-dir /tests \
36+
--async-main \
37+
--headless
38+
39+
40+
```

0 commit comments

Comments
 (0)