mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +02:00
Makefile: output data from "go env" to build/.buildinfo
This commit is contained in:
parent
a757c0dde5
commit
55e149ddd6
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -12,11 +12,14 @@ DEPENDANCIES= github.com/firstrow/tcp_server \
|
||||||
github.com/pborman/getopt/v2
|
github.com/pborman/getopt/v2
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
build: build/$(PROGRAM_NAME)
|
build: build/$(PROGRAM_NAME) build/.buildinfo
|
||||||
|
|
||||||
build/$(PROGRAM_NAME) : $(SOURCES)
|
build/$(PROGRAM_NAME) : $(SOURCES)
|
||||||
$(GO) build -o $@ $(GOCCFLAGS) $(GOLDFLAGS) $^
|
$(GO) build -o $@ $(GOCCFLAGS) $(GOLDFLAGS) $^
|
||||||
|
|
||||||
|
build/.buildinfo:
|
||||||
|
$(GO) env > $@
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
$(GO) get $(DEPENDANCIES)
|
$(GO) get $(DEPENDANCIES)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue