From 4c611972cf57c1e29fa4d54bad2e1d61b75fd7c1 Mon Sep 17 00:00:00 2001 From: RblSb Date: Thu, 24 Oct 2024 08:27:24 +0300 Subject: [PATCH] Add eval $(opam env) for osx vscode task (#11801) --- .vscode/tasks.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 5d63d3481c7..f481cb28ee6 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -5,6 +5,9 @@ "label": "make: haxe", "type": "shell", "command": "make ADD_REVISION=1 -s -j haxe", + "osx": { + "command": "eval $(opam env) && make ADD_REVISION=1 -s -j haxe", + }, "windows": { "command": "make ADD_REVISION=1 -f Makefile.win -s -j haxe" }, @@ -48,4 +51,4 @@ "problemMatcher": [] } ] -} \ No newline at end of file +}