udpate docs command

This commit is contained in:
realaravinth 2021-06-06 23:12:27 +05:30
parent 03d8e5c10b
commit 17c2fcacd9
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88
2 changed files with 5 additions and 4 deletions

View file

@ -80,7 +80,7 @@ jobs:
- name: generate documentation - name: generate documentation
if: matrix.version == 'stable' && (github.repository == 'mcaptcha/cache') if: matrix.version == 'stable' && (github.repository == 'mcaptcha/cache')
run: make docs run: make doc
# - name: generate documentation # - name: generate documentation
# if: matrix.version == 'stable' && (github.repository == 'realaravinth/damn-vuln-blockchain') # if: matrix.version == 'stable' && (github.repository == 'realaravinth/damn-vuln-blockchain')

View file

@ -30,8 +30,6 @@ stop-redis-server:
dev-env: dev-env:
./scripts/setup.sh ./scripts/setup.sh
docs:
cargo doc --no-deps --workspace --all-features
xml-test-coverage: xml-test-coverage:
cargo tarpaulin -t 1200 --out Xml --all --all-features --no-fail-fast cargo tarpaulin -t 1200 --out Xml --all --all-features --no-fail-fast
@ -41,6 +39,9 @@ coverage:
dev: dev:
cargo build cargo build
doc:
cargo doc --no-deps --workspace --all-features
clean: clean:
cargo clean cargo clean
@ -51,7 +52,7 @@ help:
@echo ' docker-run - run docker container' @echo ' docker-run - run docker container'
@echo ' docker-stop - stop docker container' @echo ' docker-stop - stop docker container'
@echo ' dev-env - setup dev env' @echo ' dev-env - setup dev env'
@echo ' docs - build documentation' @echo ' doc - build documentation'
@echo ' clean - drop builds and environments' @echo ' clean - drop builds and environments'
@echo ' coverage - build test coverage in HTML format' @echo ' coverage - build test coverage in HTML format'
@echo ' xml-coverage - build test coverage in XML for upload to codecov' @echo ' xml-coverage - build test coverage in XML for upload to codecov'