-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathjustfile
More file actions
65 lines (48 loc) · 2.9 KB
/
justfile
File metadata and controls
65 lines (48 loc) · 2.9 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# ──────────────────────────────────────────────────────────────────────────────
# FlossPay / OpenPay UPI Gateway rail — Developer Justfile
#
# Shortcuts for everyday local development.
# Run 'just --list' to see all commands.
# See comments for extra tips and best practices.
# ──────────────────────────────────────────────────────────────────────────────
# ── Project Build Commands ──────────────────────────────────────────────
# Build the entire project (clean first, skip tests for speed)
build:
mvn clean install -DskipTests
# Build only api-service (skip tests)
builda:
mvn clean install -pl api-service -DskipTests
# Build only worker-service (skip tests)
buildw:
mvn clean install -pl worker-service -DskipTests
# ── Running Services Locally ───────────────────────────────────────────
# Run the api-service locally using Spring Boot
runa:
mvn spring-boot:run -pl api-service
# Run the worker-service locally using Spring Boot
runw:
mvn spring-boot:run -pl worker-service
# ── Testing Commands ───────────────────────────────────────────────────
# Run all tests in the project
test:
mvn test
# Run only api-service tests
testa:
mvn test -pl api-service
# Run only worker-service tests
testw:
mvn test -pl worker-service
# ── Clean Project ──────────────────────────────────────────────────────
# Remove target/ build artifacts from all modules
clean:
mvn clean
# ── Database/Migration Shortcuts (expand as needed) ────────────────────
# Run Flyway migrations for api-service (if configured)
migrate:
mvn -pl api-service flyway:migrate
# ───────────────────────────────────────────────────────────────────────
# Add your own shortcuts below!
# For advanced usage, see: https://github.com/casey/just
# ───────────────────────────────────────────────────────────────────────
# Developer Note:
# For a dedicated testing approach, see test/ or scripts/ in a future update.