crowdsec/platform/unix_common.mk

20 lines
475 B
Makefile
Raw Normal View History

2022-05-17 10:14:59 +00:00
RM=rm -rf
CP=cp
CPR=cp -r
MKDIR=mkdir -p
# Go should not be required to run functional tests
GOOS ?= $(shell go env GOOS)
GOARCH ?= $(shell go env GOARCH)
2022-05-17 10:14:59 +00:00
BUILD_GOVERSION=$(shell go env GOVERSION | sed s/go//)
2022-05-17 10:14:59 +00:00
#Current versioning information from env
BUILD_VERSION?=$(shell git describe --tags)
2022-05-17 10:14:59 +00:00
BUILD_CODENAME="alphaga"
BUILD_TIMESTAMP=$(shell date +%F"_"%T)
BUILD_TAG?=$(shell git rev-parse HEAD)
2022-05-17 10:14:59 +00:00
DEFAULT_CONFIGDIR?=/etc/crowdsec
DEFAULT_DATADIR?=/var/lib/crowdsec/data