Skip to content

Commit

Permalink
Remove build files generated with cargo doc
Browse files Browse the repository at this point in the history
  • Loading branch information
adpaco-aws committed Sep 8, 2023
1 parent c8266bf commit b9938dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,9 @@ ${MDBOOK} build -d $KANI_DIR/docs/book/rfc
echo "Building rustdocs..."
cd $KANI_DIR
RUSTFLAGS="--cfg=kani" cargo doc -p kani --no-deps --target-dir docs/book/crates
# We remove build files to avoid false positives in secret scanning alerts.
# More details in: https://github.com/model-checking/kani/issues/2735
echo "Removing build files from rustdocs..."
rm -r docs/book/crates/debug

echo "Finished documentation build successfully."

0 comments on commit b9938dd

Please sign in to comment.