Add Makefile command for generating documentation
This commit is contained in:
parent
c5960a028e
commit
4d055374d9
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -3,6 +3,10 @@ default:
|
|||
@echo "Choose a Makefile target:"
|
||||
@$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print " - " $$1}}' | sort
|
||||
|
||||
.PHONY: docs
|
||||
docs:
|
||||
cargo doc --open --no-deps --package surrealdb
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
cargo test --workspace
|
||||
|
|
Loading…
Reference in a new issue