Skip to content

Commit

Permalink
Merge pull request #40 from robertknight/lib-cli-doc-conflict
Browse files Browse the repository at this point in the history
Disable doc generation for ocrs CLI tool
  • Loading branch information
robertknight authored Mar 10, 2024
2 parents 521aafe + 62bdc68 commit f8112f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ jobs:
run: |
make checkformatting
make lint
- name: Docs
run: make doc
- name: E2E Test
run: make test-e2e
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ check: checkformatting test lint
checkformatting:
cargo fmt --check

.PHONY: docs
doc:
cargo doc

.PHONY: lint
lint:
cargo clippy --workspace
Expand Down
4 changes: 4 additions & 0 deletions ocrs-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ anyhow = "1.0.79"
[[bin]]
name = "ocrs"
path = "src/main.rs"

# Disable documentation for ocrs binary to avoid a filename conflict in
# `target/doc/` with docs for the ocrs library crate.
doc = false

0 comments on commit f8112f5

Please sign in to comment.