-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 814 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (22 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Squill — development commands
#
# Usage:
# make test # run all tests
# make test-frontend # frontend type-check + unit tests
# make build-rust # build the Rust backend
# make docker-build # build the Rust backend Docker image
# ---------------------------------------------------------------------------
# Targets
# ---------------------------------------------------------------------------
.PHONY: test test-frontend build-rust docker-build
## Run all tests
test: test-frontend
## Build the Rust backend
build-rust:
cd backend && cargo build
## Run frontend type-check + unit tests
test-frontend:
cd frontend && bun run type-check && bun run test:run
## Build the Rust backend Docker image
docker-build:
cd backend && docker build -t squill-server .