Skip to content

Commit

Permalink
exclude test directory from build target candidate
Browse files Browse the repository at this point in the history
Signed-off-by: Shinya Hayashi <[email protected]>
  • Loading branch information
peng225 committed Feb 18, 2024
1 parent db9cd33 commit cad20d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ IMAGE_NAME ?= ghcr.io/peng225/oval

BINDIR := bin

GO_FILES := $(shell find . -type f -name '*.go' -print)
GO_FILES := $(shell find . -path './test' -prune -o -type f -name '*.go' -print)
MINIO_DATADIR := $(shell git rev-parse --show-toplevel)/test/data
MINIO_CERTDIR := $(shell git rev-parse --show-toplevel)/test/certs

Expand Down Expand Up @@ -73,9 +73,10 @@ run-leader-with-config: $(OVAL)

.PHONY: run-followers
run-followers: $(OVAL)
$(OVAL) follower --follower_port 8080 $(CERT_CONFIG) &
echo hoge
$(OVAL) follower --follower_port 8081 $(CERT_CONFIG) &
$(OVAL) follower --follower_port 8082 $(CERT_CONFIG) &
$(OVAL) follower --follower_port 8083 $(CERT_CONFIG) &

$(CERTGEN): | $(BINDIR)
wget https://github.com/minio/certgen/releases/download/$(CERTGEN_VERSION)/certgen-linux-amd64
Expand Down

0 comments on commit cad20d5

Please sign in to comment.