mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-16 04:24:56 +02:00
make: no need to use find, can specify the directory where the go files are
This commit is contained in:
parent
e038be5324
commit
18a8feea9e
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -20,7 +20,7 @@ build/$(PROGRAM) :
|
|||
tools : build/thalos-tools
|
||||
|
||||
build/thalos-tools :
|
||||
$(GO) build $(GOBUILDFLAGS) -o $@ $(shell find cmd/tools -type f -name *.go)
|
||||
$(GO) build $(GOBUILDFLAGS) -o $@ ./cmd/tools/
|
||||
|
||||
docker-image:
|
||||
docker image build --build-arg VERSION=$(PROGRAM_VERSION) -t $(DOCKER_IMAGE_REPO):$(DOCKER_IMAGE_TAG) docker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue