Skip to content

Commit

Permalink
add opam exec -- to Windows build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Feb 3, 2025
1 parent 5fdbe5f commit e30a2fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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": []
},
Expand All @@ -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"]
},
Expand All @@ -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"]
},
Expand Down

0 comments on commit e30a2fd

Please sign in to comment.