-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (24 loc) · 849 Bytes
/
Makefile
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
.PHONY: all db server .executable server-local desktop wasm lint .clean-gradle .clean-docker clean
all:
@# do nothing by default
db:
docker compose --file docker-compose.yml --env-file .env build shin-dev-postgres
docker compose --file docker-compose.yml --env-file .env up shin-dev-postgres
server:
docker compose --file docker-compose.yml --env-file .env build
docker compose --file docker-compose.yml --env-file .env up
.executable:
chmod +X ./gradlew
server-local: .executable
./gradlew server:run
desktop: .executable
./gradlew composeApp:runReleaseDistributable
wasm: .executable
./gradlew composeApp:wasmJsBrowserProductionRun
lint: .executable
./gradlew detekt
.clean-docker:
docker-compose --file docker-compose.yml --env-file .env down
.clean-gradle: .executable
./gradlew clean
clean: .clean-gradle .clean-docker