Update justfile
This commit is contained in:
parent
762e694f01
commit
6853b2c7bc
14
justfile
14
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:
|
||||
|
Loading…
Reference in New Issue
Block a user