neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 4a0ee22e77d169191e7163d1340b835145f4dac9
parent d2cca606a1b67a7e9e093154449f35eaacab0532
Author: dundargoc <gocdundar@gmail.com>
Date:   Sat, 22 Feb 2025 16:46:31 +0100

build: make makefile work on msys

Relying on $(OS) doesn't work as it's too naive, so we check if $PATH
contains a colon instead.

Closes https://github.com/neovim/neovim/issues/31027

Diffstat:
MMakefile | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,14 @@ ifeq ($(OS),Windows_NT) + ifeq '$(findstring ;,$(PATH))' ';' + UNIX_LIKE := FALSE + else + UNIX_LIKE := TRUE + endif +else + UNIX_LIKE := TRUE +endif + +ifeq ($(UNIX_LIKE),FALSE) SHELL := powershell.exe .SHELLFLAGS := -NoProfile -NoLogo MKDIR := @$$null = new-item -itemtype directory -force