mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
some makefile linting fixes (#145)
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
1db616d24c
commit
13dae1e734
10
Makefile
10
Makefile
@ -28,6 +28,9 @@ export
|
||||
# convert lowercase componentname to uppercase
|
||||
COMPONENT = $(shell echo $(component) | tr a-z A-Z)
|
||||
|
||||
.PHONY: all
|
||||
all: build-all
|
||||
|
||||
build-all: build-base build-core build-kdav build-konnect build-kwmserver build-ldap-demo build-meet build-php build-playground build-scheduler build-ssl build-utils build-web build-webapp build-zpush
|
||||
|
||||
.PHONY: build
|
||||
@ -212,6 +215,7 @@ tag-zpush:
|
||||
repo-login:
|
||||
@docker login -u $(docker_login) -p $(docker_pwd)
|
||||
|
||||
.PHONY: publish
|
||||
publish: repo-login publish-base publish-core publish-kdav publish-konnect publish-kwmserver publish-meet publish-php publish-playground publish-scheduler publish-ssl publish-utils publish-web publish-webapp publish-zpush
|
||||
|
||||
publish-container: component ?= base
|
||||
@ -272,6 +276,11 @@ check-scripts:
|
||||
# eg. Dockerfile, Dockerfile.build, etc.
|
||||
git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
docker-compose -f $(COMPOSE_FILE) down -v --remove-orphans || true
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
docker-compose -f $(COMPOSE_FILE) down -v --remove-orphans || true
|
||||
make build-all
|
||||
@ -298,4 +307,5 @@ test-quick:
|
||||
test-stop:
|
||||
docker-compose -f $(COMPOSE_FILE) stop || true
|
||||
|
||||
.PHONY: default
|
||||
default: build-all
|
||||
|
Loading…
x
Reference in New Issue
Block a user