wasm clippy in earthfile

This commit is contained in:
Christien Rioux 2024-07-27 18:09:16 -04:00
parent a363b26673
commit ff2f2125b0

View File

@ -136,6 +136,7 @@ code-android:
clippy: clippy:
FROM +code-linux FROM +code-linux
RUN cargo clippy RUN cargo clippy
RUN cargo clippy --manifest-path=veilid-wasm/Cargo.toml --target wasm32-unknown-unknown
# Build # Build
build-release: build-release:
@ -181,7 +182,10 @@ build-android:
unit-tests-clippy-linux: unit-tests-clippy-linux:
FROM +code-linux FROM +code-linux
RUN cargo clippy RUN cargo clippy
RUN cargo clippy --target=wasm32-unknown-unknown
unit-tests-clippy-wasm-linux:
FROM +code-linux
RUN cargo clippy --manifest-path=veilid-wasm/Cargo.toml --target wasm32-unknown-unknown
unit-tests-docs-linux: unit-tests-docs-linux:
FROM +code-linux FROM +code-linux
@ -201,6 +205,9 @@ unit-tests-linux:
WAIT WAIT
BUILD +unit-tests-clippy-linux BUILD +unit-tests-clippy-linux
END END
WAIT
BUILD +unit-tests-clippy-wasm-linux
END
WAIT WAIT
BUILD +unit-tests-docs-linux BUILD +unit-tests-docs-linux
END END