mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
feat: define checking routine
This commit is contained in:
8
Makefile
8
Makefile
@@ -10,6 +10,14 @@ endef
|
|||||||
default: frontend ## Build app in debug mode
|
default: frontend ## Build app in debug mode
|
||||||
cargo build
|
cargo build
|
||||||
|
|
||||||
|
check: ## Check for syntax errors on all workspaces
|
||||||
|
cargo check --workspace --tests --all-features
|
||||||
|
cd db/db-migrations && cargo check --tests --all-features
|
||||||
|
cd db/db-sqlx-postgres &&\
|
||||||
|
DATABASE_URL=${POSTGRES_DATABASE_URL}\
|
||||||
|
cargo check
|
||||||
|
cd db/db-core/ && cargo check
|
||||||
|
|
||||||
clean: ## Delete build artifacts
|
clean: ## Delete build artifacts
|
||||||
@cargo clean
|
@cargo clean
|
||||||
@yarn cache clean
|
@yarn cache clean
|
||||||
|
|||||||
Reference in New Issue
Block a user