humble-bot/Makefile
Adora Laura Kalb 64593a6987
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docker-unstable Pipeline was successful
update makefile
2024-10-29 13:21:36 +01:00

14 lines
322 B
Makefile

# Set the default Go build flags
#GOFLAGS = -ldflags='-w -s -X cmd.Version=$(VERSION)'
GOFLAGS = -ldflags='-w -s'
# Build the application
build:
go build $(GOFLAGS) -o bin/humble-bot main.go
# Clean the build artifacts
clean:
rm -rf bin
# Set a version for the build
VERSION := $(shell git describe --tags --always)