mirror of
https://github.com/openai/harmony.git
synced 2025-08-22 16:17:08 -04:00
Co-authored-by: scott-oai <142930063+scott-oai@users.noreply.github.com> Co-authored-by: Zhuohan Li <zhuohan@openai.com>
12 lines
379 B
Makefile
12 lines
379 B
Makefile
.PHONY: javascript
|
|
js:
|
|
# Browser ESM build
|
|
wasm-pack build --target web --out-dir javascript/dist/web --features wasm-binding --no-default-features
|
|
|
|
# Node.js ESM/CJS-compatible build
|
|
wasm-pack build --target nodejs --out-dir javascript/dist/node --features wasm-binding --no-default-features
|
|
|
|
|
|
.PHONY: python-local
|
|
python-local:
|
|
maturin develop -F python-binding --release
|