From f0eb7807cc49e5586bba97f23aff4e8c36f2636c Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Wed, 24 Jun 2020 13:56:46 +0200 Subject: [PATCH] Remove debug code --- Dockerfile | 5 ----- Makefile | 6 +++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index e66920b..7fe8265 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,11 +10,6 @@ RUN apk add libusb-dev linux-headers WORKDIR /code COPY . /code -# try this one out -RUN BUILD_TAGS=muslc make view - -RUN false - # download all deps RUN go mod download # TODO: how to use this instead of hardcoding GO_COSMWASM diff --git a/Makefile b/Makefile index 2239e49..a1767da 100644 --- a/Makefile +++ b/Makefile @@ -40,8 +40,8 @@ endif build_tags += $(BUILD_TAGS) build_tags := $(strip $(build_tags)) -empty:= -space:= $(empty) $(empty) +empty := +space := $(empty) $(empty) comma := , build_tags_comma_sep := $(subst $(space),$(comma),$(build_tags)) @@ -60,7 +60,7 @@ endif ldflags += $(LDFLAGS) ldflags := $(strip $(ldflags)) -BUILD_FLAGS := -tags "$(build_tags_comma_sep)" -ldflags '$(ldflags)' -trimpath +BUILD_FLAGS := -tags $(build_tags_comma_sep) -ldflags '$(ldflags)' -trimpath # The below include contains the tools target. include contrib/devtools/Makefile