Skip to content

Commit

Permalink
configure pre-commit to correctly run cargo doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tlowerison committed Nov 1, 2023
1 parent b62dbb1 commit 43951cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ repos:
name: cargo-doc
description: ensure cargo doc builds
stages: [push]
entry: RUSTDOCFLAGS="-D warnings" cargo doc --all-features
entry: sh
args:
- -c
- "RUSTDOCFLAGS=\"-D warnings\" cargo doc --all-features"
language: system
types: [rust]
pass_filenames: false

0 comments on commit 43951cf

Please sign in to comment.