mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-15 03:04:45 +00:00
34 lines
901 B
Makefile
34 lines
901 B
Makefile
BASE_IMAGE = golang:1.18-alpine3.15
|
|
LINT_IMAGE = golangci/golangci-lint:v1.49.0
|
|
NODE_IMAGE = node:16-alpine3.15
|
|
RPI32_IMAGE = balenalib/raspberrypi3:buster-run
|
|
RPI64_IMAGE = balenalib/raspberrypi3-64:buster-run
|
|
|
|
.PHONY: $(shell ls)
|
|
|
|
help:
|
|
@echo "usage: make [action]"
|
|
@echo ""
|
|
@echo "available actions:"
|
|
@echo ""
|
|
@echo " mod-tidy run go mod tidy"
|
|
@echo " format format source files"
|
|
@echo " test run tests"
|
|
@echo " test32 run tests on a 32-bit system"
|
|
@echo " lint run linters"
|
|
@echo " bench NAME=n run bench environment"
|
|
@echo " run run app"
|
|
@echo " apidocs-lint run api docs linters"
|
|
@echo " apidocs-gen generate api docs HTML"
|
|
@echo " binaries build binaries for all platforms"
|
|
@echo " dockerhub build and push images to Docker Hub"
|
|
@echo ""
|
|
|
|
blank :=
|
|
define NL
|
|
|
|
$(blank)
|
|
endef
|
|
|
|
include scripts/*.mk
|