diff --git a/engage.toml b/engage.toml index 3deeada9..39da78a8 100644 --- a/engage.toml +++ b/engage.toml @@ -69,12 +69,15 @@ script = "cargo fmt --check -- --color=always" name = "cargo-doc" group = "lints" script = """ -RUSTDOCFLAGS="-D warnings" cargo doc \ - --workspace \ - --all-features \ - --no-deps \ - --document-private-items \ - --color always +env DIRENV_DEVSHELL=all-features \ + RUSTDOCFLAGS="-D warnings" \ + direnv exec . \ + cargo doc \ + --workspace \ + --all-features \ + --no-deps \ + --document-private-items \ + --color always """ [[task]]