projects
/
onyx-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5337742
)
fixed `serve.py`
master
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Mon, 3 Apr 2023 01:41:08 +0000
(
01:41
+0000)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Mon, 3 Apr 2023 01:41:08 +0000
(
01:41
+0000)
serve.py
patch
|
blob
|
history
diff --git
a/serve.py
b/serve.py
index 6081d11a9654bf70b9bca3533bcc8a5d1224bbd6..169565b8bcff321fe2c17dfa8d0385bfa70da3f0 100644
(file)
--- a/
serve.py
+++ b/
serve.py
@@
-64,7
+64,7
@@
def post_compile_onyx():
with os.fdopen(code_file_desc, "w+b") as code_file:
code_file.write(code.encode('utf-8'))
with os.fdopen(code_file_desc, "w+b") as code_file:
code_file.write(code.encode('utf-8'))
- compile_process = subprocess.run(f"timeout -s KILL 10s onyx -r js --no-file-contents --no-colors -o {wasm_file_name} {code_file_name} ./read_line.onyx ./canvas.onyx", shell=True, capture_output=True)
+ compile_process = subprocess.run(f"timeout -s KILL 10s onyx
build
-r js --no-file-contents --no-colors -o {wasm_file_name} {code_file_name} ./read_line.onyx ./canvas.onyx", shell=True, capture_output=True)
os.remove(code_file_name)
os.remove(code_file_name)