You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove root-level Gradle configuration files and update project structure to reflect standalone backend and frontend modules. Adjust Makefile commands for building, running, and testing to streamline development processes. Update documentation to clarify usage and improve organization.
Copy file name to clipboardExpand all lines: .cursor/rules/vaultstadio-commands.mdc
+17-19Lines changed: 17 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -8,19 +8,19 @@ globs: ["*"]
8
8
9
9
Use these commands for build, run, test, quality, and Docker. See also [Makefile](Makefile), [frontend/Makefile](frontend/Makefile), [docs/getting-started/QUICK_START.md](docs/getting-started/QUICK_START.md), [docs/development/CODE_QUALITY.md](docs/development/CODE_QUALITY.md).
10
10
11
-
**Project layout**: Backend is part of the root Gradle project (`:backend:*`). Frontend is a **standalone** project in `frontend/` (run Gradle from `frontend/` or use `make frontend-*` from root).
11
+
**Project layout**: No Gradle at repo root. **Backend** and **frontend** are **standalone** Gradle projects in `backend/` and `frontend/` (each has its own `gradlew`, `settings.gradle.kts`, `build.gradle.kts`). Use `make` from root or run Gradle from the project directory.
12
12
13
13
## Build
14
14
15
15
```bash
16
-
# Full build (backend from root + frontend from frontend/)
16
+
# Full build (backend + frontend, from root)
17
17
make build
18
18
19
-
# Backend only (from repo root)
20
-
./gradlew :backend:api:build -x test
19
+
# Backend only (from root or from backend/)
21
20
make backend-build
21
+
# Or: cd backend && ./gradlew :api:build -x test
22
22
23
-
# Frontend – web WASM (from repo root or from frontend/)
23
+
# Frontend – web WASM (from root or from frontend/)
24
24
make frontend-web
25
25
# Or from frontend/: ./gradlew :composeApp:wasmJsBrowserDistribution
26
26
@@ -32,9 +32,9 @@ make frontend-web-dev
32
32
cd frontend && ./gradlew :composeApp:compileKotlinDesktop
33
33
# Or: make desktop-run (from root runs frontend desktop)
0 commit comments