2024-04-21 09:12:14 +00:00
|
|
|
BASE_IMAGE = golang:1.22-alpine3.19
|
2024-08-04 11:10:14 +00:00
|
|
|
LINT_IMAGE = golangci/golangci-lint:v1.59.1
|
2024-01-27 18:41:58 +00:00
|
|
|
NODE_IMAGE = node:20-alpine3.19
|
|
|
|
ALPINE_IMAGE = alpine:3.19
|
2024-08-14 07:49:27 +00:00
|
|
|
RPI32_IMAGE = balenalib/raspberry-pi:bullseye-run-20240508
|
|
|
|
RPI64_IMAGE = balenalib/raspberrypi3-64:bullseye-run-20240429
|
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 ""
|
2023-06-07 10:35:31 +00:00
|
|
|
@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 " test-highlevel run high-level tests"
|
|
|
|
@echo " lint run linters"
|
|
|
|
@echo " bench NAME=n run bench environment"
|
|
|
|
@echo " run run app"
|
2024-08-04 11:12:30 +00:00
|
|
|
@echo " apidocs generate api docs HTML"
|
2023-06-07 10:35:31 +00:00
|
|
|
@echo " binaries build binaries for all platforms"
|
|
|
|
@echo " dockerhub build and push images to Docker Hub"
|
|
|
|
@echo " dockerhub-legacy build and push images to Docker Hub (legacy)"
|
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
|