Skip to content

Commit

Permalink
install sfdisk for ut
Browse files Browse the repository at this point in the history
  • Loading branch information
huww98 committed Dec 28, 2024
1 parent 0f2d757 commit 5561a1b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ bin:
bin/helm: | bin
curl -L https://get.helm.sh/helm-$(HELM_VERSION)-$(OS)-$(ARCH).tar.gz | tar -xz -C bin --strip-components=1 $(OS)-$(ARCH)/helm

.PHONY: sfdisk
sfdisk:
ifeq ($(shell command -v sfdisk), )
apt-get update
apt-get install -y util-linux
endif

.PHONY: fmt
fmt:
./hack/check-format.sh
Expand All @@ -37,7 +44,7 @@ vet:
./hack/check-govet.sh

.PHONY: test
test:
test: sfdisk
./hack/check-unittest.sh

.PHONY: update-deps check-deps
Expand Down

0 comments on commit 5561a1b

Please sign in to comment.