MCServerDocker/Makefile

15 lines
386 B
Makefile
Raw Permalink Normal View History

2024-01-25 23:12:09 +01:00
.PHONY: dist help build test
dist: help
help:
@echo "make help [Displays help]"
@echo " check [Check all shell scripts for issues]"
2024-01-25 23:12:09 +01:00
@echo " build [Builds the docker image]"
@echo " clean [Cleans the docker build cache]"
check:
shellcheck *.sh
build: check
2024-01-25 23:12:09 +01:00
docker buildx build --progress tty --tag mcserverdocker:repobuild .
clean:
docker buildx prune --all --force