Skip to content

Commit 765ae46

Browse files
author
sapcc-bot
committed
Run go-makefile-maker
1 parent 3c237d9 commit 765ae46

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Makefile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company
77
# SPDX-License-Identifier: Apache-2.0
88

9-
MAKEFLAGS=--warn-undefined-variables
109
# /bin/sh is dash on Debian which does not support all features of ash/bash
1110
# to fix that we use /bin/bash only on Debian to not break Alpine
1211
ifneq (,$(wildcard /etc/os-release)) # check file existence
@@ -49,11 +48,11 @@ prepare-static-check: FORCE install-golangci-lint install-modernize install-shel
4948

5049
# To add additional flags or values, specify the variable in the environment, e.g. `GO_BUILDFLAGS='-tags experimental' make`.
5150
# To override the default flags or values, specify the variable on the command line, e.g. `make GO_BUILDFLAGS='-tags experimental'`.
52-
GO_BUILDFLAGS += -mod vendor
53-
GO_LDFLAGS +=
54-
GO_TESTFLAGS +=
55-
GO_TESTENV +=
56-
GO_BUILDENV +=
51+
GO_BUILDFLAGS := -mod vendor $(GO_BUILDFLAGS)
52+
GO_LDFLAGS := $(GO_LDFLAGS)
53+
GO_TESTFLAGS := $(GO_TESTFLAGS)
54+
GO_TESTENV := $(GO_TESTENV)
55+
GO_BUILDENV := $(GO_BUILDENV)
5756

5857
# These definitions are overridable, e.g. to provide fixed version/commit values when
5958
# no .git directory is present or to provide a fixed build date for reproducibility.

shell.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ mkShell {
1212
go_1_25
1313
golangci-lint
1414
gotools # goimports
15+
renovate
1516
reuse
1617
# keep this line if you use bash
1718
bashInteractive

0 commit comments

Comments
 (0)