Skip to content

Commit

Permalink
bootstrap-tools are required for kured bin
Browse files Browse the repository at this point in the history
kured linking needs the goreleaser command line, yet it does
not ensure it is present.

This fixes it by ensuring the bootstrap-tools are always
fetched first and used for all the make targets requiring them.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
  • Loading branch information
evrardjp committed Nov 5, 2024
1 parent 7385642 commit 7c31842
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ bootstrap-tools: $(HACKDIR)
clean:
rm -rf ./dist

kured:
kured: bootstrap-tools
$(GORELEASER_CMD) build --clean --single-target --snapshot

kured-all:
kured-all: bootstrap-tools
$(GORELEASER_CMD) build --clean --snapshot

kured-release-tag:
kured-release-tag: bootstrap-tools
$(GORELEASER_CMD) release --clean

kured-release-snapshot:
kured-release-snapshot: bootstrap-tools
$(GORELEASER_CMD) release --clean --snapshot

image: kured
Expand Down

0 comments on commit 7c31842

Please sign in to comment.