Skip to content
Myr

Fix unreliable GOOS detection (#3763)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by cyqsimon · committed by GitHub · parent 260a65b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:Makefile+1 added-1 removed
1SHELL := bash2GO ?= go3GOOS ?= $(word 1, $(subst /, " ", $(word 4, $(shell go version))))3GOOS ?= $(shell $(GO) env GOOS)45MAKEFILE := $(realpath $(lastword $(MAKEFILE_LIST)))6ROOT_DIR := $(shell dirname $(MAKEFILE))7SOURCES := $(wildcard *.go src/*.go src/*/*.go shell/*sh) $(MAKEFILE)
181 unmodified lines