Got the movie working in the gallery
This commit is contained in:
1 parent
8861858f0d
commit
782820261e
15 files changed
+1291
-111
No files matched your search
+9
-4
@@ -4,19 +4,24 @@
|
||||
|
||||
set -e
|
||||
|
||||
# resolved-showcase (the showcase movie) is left out of every step here; pre-commit's
|
||||
# clippy still builds it. It also turns on the library's astrokit feature, and Cargo
|
||||
# unifies features across a workspace build, so with it in, the steps without default
|
||||
# features would build the library with astrokit after all.
|
||||
|
||||
echo "pre-push: cargo test"
|
||||
cargo test --workspace --all-features --quiet
|
||||
cargo test --workspace --exclude resolved-showcase --all-features --quiet
|
||||
|
||||
# Without default features: every target must still build cleanly, and the unit
|
||||
# tests run. The GPU integration tests do not depend on features, so the run above
|
||||
# covers them.
|
||||
echo "pre-push: cargo clippy --no-default-features"
|
||||
cargo clippy --workspace --all-targets --no-default-features --quiet -- -D warnings
|
||||
cargo clippy --workspace --exclude resolved-showcase --all-targets --no-default-features --quiet -- -D warnings
|
||||
|
||||
echo "pre-push: cargo test --no-default-features (unit tests)"
|
||||
cargo test --workspace --no-default-features --lib --bins --quiet
|
||||
cargo test --workspace --exclude resolved-showcase --no-default-features --lib --bins --quiet
|
||||
|
||||
echo "pre-push: cargo doc"
|
||||
RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --all-features --quiet
|
||||
RUSTDOCFLAGS="-D warnings" cargo doc --workspace --exclude resolved-showcase --no-deps --all-features --quiet
|
||||
|
||||
echo "pre-push: ok"
|
||||
Reference in new issue
Block a user