...

Text file src/github.com/datawire/ambassador/v2/build-aux/deps.mk

Documentation: github.com/datawire/ambassador/v2/build-aux

     1# This file deals with Emissary's (non-tool) dependencies.
     2# (tool dependencies are in tools.mk)
     3
     4go-mod-tidy:
     5.PHONY: go-mod-tidy
     6
     7go-mod-tidy: go-mod-tidy/main
     8go-mod-tidy/main: $(OSS_HOME)/build-aux/go-version.txt
     9	rm -f go.sum
    10	GOFLAGS=-mod=mod go mod tidy -compat=$$(cut -d. -f1,2 < $<) -go=$$(cut -d. -f1,2 < $<)
    11.PHONY: go-mod-tidy/main
    12
    13vendor: FORCE
    14	go mod vendor
    15clean: vendor.rm-r
    16
    17$(OSS_HOME)/build-aux/pip-show.txt: docker/base-pip.docker.tag.local
    18	docker run --rm "$$(cat docker/base-pip.docker)" sh -c 'pip freeze --exclude-editable | cut -d= -f1 | xargs pip show' > $@
    19clean: build-aux/pip-show.txt.rm
    20
    21$(OSS_HOME)/build-aux/go-version.txt: $(_go-version/deps)
    22	$(_go-version/cmd) > $@
    23clean: build-aux/go-version.txt.rm
    24
    25$(OSS_HOME)/build-aux/py-version.txt: docker/base-python/Dockerfile
    26	{ grep -o 'python3=\S*' | cut -d= -f2; } < $< > $@
    27clean: build-aux/py-version.txt.rm
    28
    29$(OSS_HOME)/build-aux/go1%.src.tar.gz:
    30	curl -o $@ --fail -L https://dl.google.com/go/$(@F)
    31build-aux/go.src.tar.gz.clean:
    32	rm -f build-aux/go1*.src.tar.gz
    33clobber: build-aux/go.src.tar.gz.clean

View as plain text