-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathjustfile
More file actions
28 lines (19 loc) · 829 Bytes
/
justfile
File metadata and controls
28 lines (19 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
export PROCESSING_ASSET_ROOT := canonicalize("./assets")
default:
@just --list
py-build:
cd crates/processing_pyo3; uv run maturin develop --release
py-run file: py-build
cd crates/processing_pyo3; uv run python ./examples/{{file}}
py-jupyter file: py-build
cd crates/processing_pyo3; uv run jupyter notebook ./examples/{{file}}
py-ipython: py-build
cd crates/processing_pyo3; ipython
wasm-build:
wasm-pack build crates/processing_wasm --target web --out-dir ../../target/wasm
wasm-release:
wasm-pack build crates/processing_wasm --target web --out-dir ../../target/wasm --release
-wasm-opt -Oz target/wasm/processing_wasm_bg.wasm -o target/wasm/processing_wasm_bg.wasm
wasm-serve: wasm-build
python3 -m http.server 8000