feat: define checking routine

This commit is contained in:
realaravinth 2022-05-08 20:02:48 +05:30
parent dba1f662a7
commit b7a8716a82
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -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