From 17c2fcacd9039e9244aea8e93919353013273617 Mon Sep 17 00:00:00 2001 From: realaravinth Date: Sun, 6 Jun 2021 23:12:27 +0530 Subject: [PATCH] udpate docs command --- .github/workflows/linux.yml | 2 +- Makefile | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 76c77e4..5b35a8a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -80,7 +80,7 @@ jobs: - name: generate documentation if: matrix.version == 'stable' && (github.repository == 'mcaptcha/cache') - run: make docs + run: make doc # - name: generate documentation # if: matrix.version == 'stable' && (github.repository == 'realaravinth/damn-vuln-blockchain') diff --git a/Makefile b/Makefile index a13d9db..e3cbe15 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,6 @@ stop-redis-server: dev-env: ./scripts/setup.sh -docs: - cargo doc --no-deps --workspace --all-features xml-test-coverage: cargo tarpaulin -t 1200 --out Xml --all --all-features --no-fail-fast @@ -41,6 +39,9 @@ coverage: dev: cargo build +doc: + cargo doc --no-deps --workspace --all-features + clean: cargo clean @@ -51,7 +52,7 @@ help: @echo ' docker-run - run docker container' @echo ' docker-stop - stop docker container' @echo ' dev-env - setup dev env' - @echo ' docs - build documentation' + @echo ' doc - build documentation' @echo ' clean - drop builds and environments' @echo ' coverage - build test coverage in HTML format' @echo ' xml-coverage - build test coverage in XML for upload to codecov'