1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 21:33:18 +01:00

Updates makefile

This commit is contained in:
Amir Raminfar
2021-04-08 08:35:36 -07:00
parent 802744d132
commit b8bec9d2f0

View File

@@ -25,11 +25,18 @@ fake_static:
test: fake_static test: fake_static
go test -cover ./... go test -cover ./...
.PHONY: build
build: static build: static
CGO_ENABLED=0 go build -ldflags "-s -w" CGO_ENABLED=0 go build -ldflags "-s -w"
.PHONY: docker
docker:
@docker build -t amir20/dozzle .
.PHONY: dev
dev: dev:
yarn dev yarn dev
.PHONY: int
int: int:
docker-compose -f integration/docker-compose.test.yml up --build --force-recreate --exit-code-from integration docker-compose -f integration/docker-compose.test.yml up --build --force-recreate --exit-code-from integration