-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 737 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 737 Bytes
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
.PHONY: setup
setup:
docker-compose build
.PHONY: build
build:
docker-compose build housing-register-api
.PHONY: serve
serve:
docker-compose build housing-register-api && docker-compose up housing-register-api
serve-from-aws:
docker-compose build housing-register-api-remote && docker-compose up housing-register-api-remote
.PHONY: shell
shell:
docker-compose run housing-register-api bash
.PHONY: test
test:
docker-compose up -d dynamodb-database
docker-compose build housing-register-api-test && docker-compose up housing-register-api-test
.PHONY: lint
lint:
-dotnet tool install -g dotnet-format
dotnet tool update -g dotnet-format
dotnet format
.PHONY: restart-db
restart-db:
docker-compose up -d dynamodb-database