mirror of https://github.com/yewstack/yew
19 lines
681 B
Bash
Executable File
19 lines
681 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/
|
|
|
|
(cd yew \
|
|
&& cargo test --target wasm32-unknown-unknown --features wasm_test \
|
|
&& cargo test --doc --features doc_test,wasm_test,yaml,msgpack,cbor,toml \
|
|
&& cargo test --doc --features doc_test,wasm_test,yaml,msgpack,cbor,toml \
|
|
--features std_web,agent,services --no-default-features)
|
|
|
|
(cd yew-functional \
|
|
&& cargo test --target wasm32-unknown-unknown)
|
|
|
|
(cd yew-macro \
|
|
&& cargo test --test macro_test \
|
|
&& cargo test --test derive_props_test \
|
|
&& cargo test --doc)
|
|
|
|
(cd yew-stdweb && cargo test --target wasm32-unknown-unknown --features wasm_test)
|