Skip to content

Commit ebd3ab1

Browse files
committed
update Makefile
1 parent 924b2b5 commit ebd3ab1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ setup:
55
go get -u github.com/swaggo/gin-swagger
66
go get -u github.com/swaggo/files
77

8-
build:
8+
build-docker:
99
docker compose build --no-cache
1010

1111
run-local:
@@ -31,6 +31,12 @@ down:
3131
restart:
3232
docker compose restart
3333

34+
build:
35+
go build -v ./...
36+
37+
test:
38+
go test -v ./... -race -cover
39+
3440
clean:
3541
docker stop go-rest-api-template
3642
docker stop dockerPostgres

0 commit comments

Comments
 (0)