-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
48 lines (32 loc) · 964 Bytes
/
justfile
File metadata and controls
48 lines (32 loc) · 964 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
set shell := ["bash", "-cu"]
set windows-shell := ["powershell", "-Command"]
# ---------------- BACKEND ----------------
dev-backend:
cd backend; cargo run --bin backend
run-backend:
cd backend; cargo run --bin backend --release
fetch-run-backend:
cd backend; bash build_and_fetch.sh; ./backend
cloud-run-backend:
cd backend; ./backend
dev-backend-hr:
cd backend; cargo watch -x "run --bin backend"
check-backend:
cd backend; cargo check
check-admin-crud:
powershell -NoProfile -ExecutionPolicy Bypass -File .\\backend\\scripts\\check_admin_crud_coverage.ps1
db-seed:
cd backend; cargo run --bin seed
db-migrate:
cd backend; diesel migration run; diesel print-schema > src/schema.rs
# ---------------- WEB ----------------
check-web:
cd web; bun run tsc
lint-web:
cd web; bun run check
dev-web:
cd web; bun run dev
gen-api:
cd web; bun run api
db-ui:
cd web; bun --bun run drizzle-kit studio