mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Backout: Remove backend container dep for non-container builds
Make is called recursively, once outside then inside the container
This commit is contained in:
2
Makefile
2
Makefile
@@ -53,7 +53,7 @@ shell:
|
||||
-v $(shell pwd)/.pkg:/go/pkg \
|
||||
$(SCOPE_BACKEND_BUILD_IMAGE) SCOPE_VERSION=$(SCOPE_VERSION) GO_BUILD_INSTALL_DEPS=$(GO_BUILD_INSTALL_DEPS) $@
|
||||
else
|
||||
$(SCOPE_EXE):
|
||||
$(SCOPE_EXE): $(SCOPE_BACKEND_BUILD_UPTODATE)
|
||||
time go build $(GO_BUILD_FLAGS) -o $@ ./$(@D)
|
||||
@strings $@ | grep cgo_stub\\\.go >/dev/null || { \
|
||||
rm $@; \
|
||||
|
||||
Reference in New Issue
Block a user