feat: define checking routine
This commit is contained in:
parent
dba1f662a7
commit
b7a8716a82
1 changed files with 8 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -10,6 +10,14 @@ endef
|
|||
default: frontend ## Build app in debug mode
|
||||
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
|
||||
@cargo clean
|
||||
@yarn cache clean
|
||||
|
|
Loading…
Reference in a new issue