build: fmt build-rust build-wasm build-js all: clean build # build-docs rsync -ha ./web-frontend/build/ build/ du -shc build/* | sort -h build-rust: cargo build --all build-wasm: wasm-pack build --target web this_algorithm-wasm build-js: build-wasm yarn --cwd ./web-frontend/ build clean: rm -rf build build-docs: earthly +docs # TODO: Clippy watch-rust: cargo watch -x fmt -x check -x build watch-js: yarn --cwd ./web-frontend/ dev fmt: # just --fmt --unstable cargo fmt yarn --cwd ./web-frontend/ format init: yarn --cwd ./web-frontend/ cargo fetch cargo install wasm-pack