From e30a2fd749e7129c449a62c850950f89dd84e352 Mon Sep 17 00:00:00 2001 From: Simon Krajewski Date: Mon, 3 Feb 2025 14:24:35 +0100 Subject: [PATCH] add opam exec -- to Windows build tasks --- .vscode/tasks.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f481cb28ee6..043bb35d19a 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -9,7 +9,7 @@ "command": "eval $(opam env) && make ADD_REVISION=1 -s -j haxe", }, "windows": { - "command": "make ADD_REVISION=1 -f Makefile.win -s -j haxe" + "command": "opam exec -- make ADD_REVISION=1 -f Makefile.win -s -j haxe" }, "problemMatcher": [], "group": { @@ -22,7 +22,7 @@ "type": "shell", "command": "make -s -j libs", "windows": { - "command": "make -f Makefile.win -s -j libs" + "command": "opam exec -- make -f Makefile.win -s -j libs" }, "problemMatcher": [] }, @@ -31,7 +31,7 @@ "type": "shell", "command": "make -s haxelib", "windows": { - "command": "make -f Makefile.win -s haxelib" + "command": "opam exec -- make -f Makefile.win -s haxelib" }, "problemMatcher": ["$haxe", "$haxe-absolute"] }, @@ -40,7 +40,7 @@ "type": "shell", "command": "make s -j libs && make ADD_REVISION=1 -s -j haxe && make -s haxelib", "windows": { - "command": "make -f Makefile.win -s -j libs && make ADD_REVISION=1 -f Makefile.win -s -j haxe && make -f Makefile.win -s haxelib" + "command": "opam exec -- make -f Makefile.win -s -j libs && make ADD_REVISION=1 -f Makefile.win -s -j haxe && make -f Makefile.win -s haxelib" }, "problemMatcher": ["$haxe", "$haxe-absolute"] },