diff --git a/justfile b/justfile index baeccf2..9b30047 100644 --- a/justfile +++ b/justfile @@ -1,20 +1,20 @@ -build: fmt build-rust build-wasm build-js +build: fmt rust-build build-wasm js-build -all: clean fmt test-rust build # build-docs +all: clean fmt rust-test build # build-docs rsync -ha ./web-frontend/build/ build/ du -shc build/* | sort -h -test-rust: +rust-test: cargo test --all cargo fmt --all --check -build-rust: +rust-build: cargo build --all build-wasm: wasm-pack build --target web this_algorithm-wasm -build-js: build-wasm +js-build: build-wasm yarn --cwd ./web-frontend/ build clean: @@ -24,10 +24,10 @@ build-docs: earthly +docs # TODO: Clippy -watch-rust: +rust-watch: cargo watch -x fmt -x check -x build -watch-js: +js-dev: yarn --cwd ./web-frontend/ dev fmt: