File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 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+ ```
You can’t perform that action at this time.
0 commit comments