-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
44 lines (36 loc) · 1.6 KB
/
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
36
37
38
39
40
41
42
43
44
help:
@egrep "^#" Makefile
# target: up - Start rabbit in docker container
up:
docker-compose up -d
# target: down - Stop rabbit in docker container
down:
docker-compose down
# target: pu|prod-up - Start dotnet worker and rabbit in docker containers
pu: prod-up
prod-up:
docker compose -f docker-compose.prod.yml up -d --build
# target: ps|prod-stop - Start dotnet worker and rabbit in docker containers
ps: prod-stop
prod-stop:
docker compose -f docker-compose.prod.yml down
# target: pbp|prod-build-publisher - Start dotnet worker and rabbit in docker containers
pbp: prod-build-publisher
prod-build-publisher:
docker compose -f docker-compose.prod.yml up -d --no-deps --build publisher
# target: pbc|prod-build-consumer - Start dotnet worker and rabbit in docker containers
pbc: prod-build-consumer
prod-build-consumer:
docker compose -f docker-compose.prod.yml up -d --no-deps --build consumer
# target: bp|build-publisher - Start dotnet worker and rabbit in docker containers
bp:build-publisher
build-publisher:
BUILDKIT_PROGRESS=plain docker compose up -d --no-deps --build publisher
# target: bc|build-consumer - Start dotnet worker and rabbit in docker containers
bc:build-consumer
build-consumer:
BUILDKIT_PROGRESS=plain docker compose up -d --no-deps --build consumer
# target: bn|build-nuget - Build shared package nuget
bn: build-nuget
build-nuget:
dotnet pack src/Shared -c Release