|
| 1 | +{ |
| 2 | + "version": "2.0.0", |
| 3 | + "options": { |
| 4 | + "cwd": "${workspaceFolder}", |
| 5 | + "env": { |
| 6 | + "TESTSUITEFLAGS": "-j", |
| 7 | + "prefix": "${config:prefix}", |
| 8 | + "PATH": "${config:PATH}" |
| 9 | + }, |
| 10 | + "shell": { |
| 11 | + "executable": "/bin/zsh", |
| 12 | + "args": ["-c"] |
| 13 | + } |
| 14 | + }, |
| 15 | + "tasks": [ |
| 16 | + { |
| 17 | + "label": "autotools: configure", |
| 18 | + "type": "shell", |
| 19 | + "command": "echo \"prefix: $prefix\" && autoreconf -fvi && ./configure --prefix=$prefix --enable-developer", |
| 20 | + "problemMatcher": [], |
| 21 | + "group": { |
| 22 | + "kind": "build", |
| 23 | + "isDefault": true |
| 24 | + } |
| 25 | + }, |
| 26 | + { |
| 27 | + "label": "autotools: build", |
| 28 | + "type": "shell", |
| 29 | + "command": "make -j", |
| 30 | + "problemMatcher": ["$gcc"], |
| 31 | + "group": { |
| 32 | + "kind": "build", |
| 33 | + "isDefault": true |
| 34 | + } |
| 35 | + }, |
| 36 | + { |
| 37 | + "label": "autotools: check", |
| 38 | + "type": "shell", |
| 39 | + "command": "make -j check", |
| 40 | + "problemMatcher": ["$gcc"], |
| 41 | + "group": { |
| 42 | + "kind": "build", |
| 43 | + "isDefault": true |
| 44 | + } |
| 45 | + }, |
| 46 | + { |
| 47 | + "label": "autotools: install", |
| 48 | + "type": "shell", |
| 49 | + "command": "make install", |
| 50 | + "problemMatcher": [], |
| 51 | + "group": { |
| 52 | + "kind": "build", |
| 53 | + "isDefault": true |
| 54 | + } |
| 55 | + }, |
| 56 | + { |
| 57 | + "label": "autotools: clean", |
| 58 | + "type": "shell", |
| 59 | + "command": "make clean", |
| 60 | + "problemMatcher": [], |
| 61 | + "group": { |
| 62 | + "kind": "build", |
| 63 | + "isDefault": true |
| 64 | + } |
| 65 | + }, |
| 66 | + { |
| 67 | + "label": "autotools: compile_commands", |
| 68 | + "type": "shell", |
| 69 | + "command": "make clean && bear -- make -j && bear --append -- make -j check", |
| 70 | + "problemMatcher": ["$gcc"], |
| 71 | + "group": { |
| 72 | + "kind": "build", |
| 73 | + "isDefault": true |
| 74 | + } |
| 75 | + } |
| 76 | + ] |
| 77 | +} |
0 commit comments