Skip to content

Commit

Permalink
Makefile: add target to generate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Oct 2, 2024
1 parent 87aa1e6 commit 13f91bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Build cargo docs
run: |
eval $(opam env)
RUSTDOCFLAGS="-D warnings" cargo doc --all-features --no-deps
make generate-doc
#
# Coding guidelines
Expand Down
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,13 @@ generate-test-coverage-report:
@echo "The test coverage report is available at: ./target/coverage"
@echo ""

.PHONY: all setup install-test-deps clean build release test-doc test-doc-with-coverage test test-with-coverage test-heavy test-heavy-with-coverage test-all test-all-with-coverage nextest nextest-with-coverage nextest-heavy nextest-heavy-with-coverage nextest-all nextest-all-with-coverage format lint generate-test-coverage-report
generate-doc:
@echo ""
@echo "Generating the documentation."
@echo ""
RUSTDOCFLAGS="-D warnings" cargo doc --all-features --no-deps
@echo ""
@echo "The documentation is available at: ./target/doc"
@echo ""

.PHONY: all setup install-test-deps clean build release test-doc test-doc-with-coverage test test-with-coverage test-heavy test-heavy-with-coverage test-all test-all-with-coverage nextest nextest-with-coverage nextest-heavy nextest-heavy-with-coverage nextest-all nextest-all-with-coverage format lint generate-test-coverage-report generate-doc

0 comments on commit 13f91bf

Please sign in to comment.