mediamtx/Makefile

34 lines
901 B
Makefile
Raw Normal View History

2022-07-25 20:57:48 +00:00
BASE_IMAGE = golang:1.18-alpine3.15
2022-09-17 19:19:45 +00:00
LINT_IMAGE = golangci/golangci-lint:v1.49.0
2022-07-25 20:57:48 +00:00
NODE_IMAGE = node:16-alpine3.15
RPI32_IMAGE = balenalib/raspberrypi3:buster-run
RPI64_IMAGE = balenalib/raspberrypi3-64:buster-run
2019-12-28 21:07:03 +00:00
2020-08-07 10:02:02 +00:00
.PHONY: $(shell ls)
2019-12-28 21:07:03 +00:00
help:
@echo "usage: make [action]"
@echo ""
@echo "available actions:"
@echo ""
2020-01-03 21:39:55 +00:00
@echo " mod-tidy run go mod tidy"
@echo " format format source files"
2020-12-05 19:42:59 +00:00
@echo " test run tests"
2021-07-03 10:14:31 +00:00
@echo " test32 run tests on a 32-bit system"
2020-12-05 19:42:59 +00:00
@echo " lint run linters"
2021-08-07 16:28:27 +00:00
@echo " bench NAME=n run bench environment"
2020-07-09 20:57:43 +00:00
@echo " run run app"
2021-08-07 17:03:07 +00:00
@echo " apidocs-lint run api docs linters"
2022-08-23 07:42:25 +00:00
@echo " apidocs-gen generate api docs HTML"
@echo " binaries build binaries for all platforms"
2022-08-23 07:42:25 +00:00
@echo " dockerhub build and push images to Docker Hub"
2019-12-28 21:07:03 +00:00
@echo ""
2020-05-10 19:32:40 +00:00
blank :=
define NL
$(blank)
endef
2022-08-23 07:42:25 +00:00
include scripts/*.mk