tasks.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "make: haxe",
  6. "type": "shell",
  7. "command": "make ADD_REVISION=1 -s -j haxe",
  8. "osx": {
  9. "command": "eval $(opam env) && make ADD_REVISION=1 -s -j haxe",
  10. },
  11. "windows": {
  12. "command": "opam exec -- make ADD_REVISION=1 -f Makefile.win -s -j haxe"
  13. },
  14. "problemMatcher": [],
  15. "group": {
  16. "kind": "build",
  17. "isDefault": true
  18. }
  19. },
  20. {
  21. "label": "make: libs",
  22. "type": "shell",
  23. "command": "make -s -j libs",
  24. "windows": {
  25. "command": "opam exec -- make -f Makefile.win -s -j libs"
  26. },
  27. "problemMatcher": []
  28. },
  29. {
  30. "label": "make: haxelib",
  31. "type": "shell",
  32. "command": "make -s haxelib",
  33. "windows": {
  34. "command": "opam exec -- make -f Makefile.win -s haxelib"
  35. },
  36. "problemMatcher": ["$haxe", "$haxe-absolute"]
  37. },
  38. {
  39. "label": "make: all",
  40. "type": "shell",
  41. "command": "make s -j libs && make ADD_REVISION=1 -s -j haxe && make -s haxelib",
  42. "windows": {
  43. "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"
  44. },
  45. "problemMatcher": ["$haxe", "$haxe-absolute"]
  46. },
  47. {
  48. "label": "make: clean",
  49. "type": "shell",
  50. "command": "make clean",
  51. "problemMatcher": []
  52. }
  53. ]
  54. }