Skip to content

Commit 0c0f5d7

Browse files
authored
build: Remove unused platform files now that devbox is used (#103)
1 parent adc8d89 commit 0c0f5d7

File tree

4 files changed

+2
-33
lines changed

4 files changed

+2
-33
lines changed

make/all.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ include $(INCLUDE_DIR)make.mk
77
include $(INCLUDE_DIR)shell.mk
88
include $(INCLUDE_DIR)help.mk
99
include $(INCLUDE_DIR)repo.mk
10-
include $(INCLUDE_DIR)platform.mk
1110
include $(INCLUDE_DIR)tools.mk
1211
include $(INCLUDE_DIR)pre-commit.mk
1312
include $(INCLUDE_DIR)go.mk

make/platform.mk

Lines changed: 0 additions & 22 deletions
This file was deleted.

make/shell.mk

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@
44
# This is compatible with Darwin, see https://itnext.io/upgrading-bash-on-macos-7138bd1066ba
55
SHELL := /usr/bin/env bash
66
.SHELLFLAGS = -euo pipefail -c
7-
8-
# We need to explicitly get the bash version via shell command here because the user could be
9-
# running a different shell and hence BASH_VERSION var will not be set in the Make environment.
10-
BASH_VERSION := $(shell echo $${BASH_VERSION})
11-
ifneq (5, $(word 1, $(sort 5 $(BASH_VERSION))))
12-
$(error Only bash >= 5 is supported (current version: $(BASH_VERSION)). Please upgrade your version of bash. If on macOS, see https://formulae.brew.sh/formula/bash)
13-
endif

make/upx.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ upx: UPX_REAL_TARGET := $(addsuffix $(if $(filter $(GOOS),windows),.exe),$(basen
88
ifneq ($(SKIP_UPX),true)
99
ifeq ($(GOOS)/$(GOARCH),windows/arm64)
1010
upx: ; $(info $(M) skipping packing $(UPX_REAL_TARGET) - $(GOOS)/$(GOARCH) is not yet supported by upx)
11-
# TODO Remove once upx 4.0.2 is released
12-
else ifeq ($(GOOS)/$(GOARCH),darwin/arm64)
13-
upx: ; $(info $(M) skipping packing $(UPX_REAL_TARGET) - $(GOOS)/$(GOARCH) has a bug in packing - https://github.com/upx/upx/issues/628 - should be fixed in 4.0.2)
11+
else ifeq ($(GOOS),darwin)
12+
upx: ; $(info $(M) skipping packing $(UPX_REAL_TARGET) - $(GOOS)/$(GOARCH) has a bug in packing on Ventura - https://github.com/upx/upx/issues/628)
1413
else
1514
upx: ## Pack executable using upx
1615
upx: ; $(info $(M) packing $(UPX_REAL_TARGET))

0 commit comments

Comments
 (0)