Explorar o código

Add eval $(opam env) for osx vscode task (#11801)

RblSb hai 10 meses
pai
achega
4c611972cf
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      .vscode/tasks.json

+ 4 - 1
.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": []
 		}
 	]
-}
+}