All checks were successful
		
		
	
	CI / Get Changed Files (pull_request) Successful in 28s
				
			CI / Checkstyle Main (pull_request) Has been skipped
				
			CI / Docker backend validation (pull_request) Has been skipped
				
			CI / Docker frontend validation (pull_request) Successful in 1m19s
				
			CI / eslint (pull_request) Successful in 25s
				
			CI / oxlint (pull_request) Successful in 23s
				
			CI / prettier (pull_request) Successful in 21s
				
			CI / test-build (pull_request) Successful in 32s
				
			
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			862 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			862 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # Info
 | |
| info:
 | |
|     just --list
 | |
| 
 | |
| # Starts the project in development mode
 | |
| start:
 | |
|     command -v concurrently &> /dev/null || bun add -g concurrently
 | |
|     command -v watchexec &> /dev/null || brew install watchexec
 | |
|     docker compose up -d
 | |
|     conc -n "frontend,backend" "cd frontend && bun run start" "cd backend/ && watchexec -r -e java ./gradlew :bootRun"
 | |
| 
 | |
| # Builds both the backend and frontend docker images (obv)
 | |
| build:
 | |
|     just build-fe
 | |
|     just build-be
 | |
| 
 | |
| # Builds the backend docker image
 | |
| build-be:
 | |
|     docker buildx build -f backend/.docker/Dockerfile -t git.kjan.de/szut/casino-backend:latest backend
 | |
| 
 | |
| # Builds the frontend docker image
 | |
| build-fe:
 | |
|     docker buildx build -f frontend/.docker/Dockerfile -t git.kjan.de/szut/casino-frontend:latest frontend
 | |
| 
 | |
| # Formats the code duh
 | |
| format:
 | |
|     cd frontend && bunx prettier --write "src/**/*.{ts,html,css,scss}"
 |