|
| 1 | +{ |
| 2 | + "version": "2.0.0", |
| 3 | + "inputs": [ |
| 4 | + { |
| 5 | + "id": "deployment-module", |
| 6 | + "description": "Hardhat Ignition Module", |
| 7 | + "type": "promptString", |
| 8 | + "default": "ignition/modules/ExampleERC721a.ts" |
| 9 | + }, |
| 10 | + { |
| 11 | + "id": "extra-deployment", |
| 12 | + "description": "Extra commandline arguments, e.g. --verify", |
| 13 | + "type": "promptString", |
| 14 | + "default": "" |
| 15 | + }, |
| 16 | + ], |
| 17 | + "tasks": [ |
| 18 | + { |
| 19 | + "label": "Foundry - Build", |
| 20 | + "type": "shell", |
| 21 | + "command": "btp-scs foundry build", |
| 22 | + "group": { |
| 23 | + "kind": "build", |
| 24 | + "isDefault": true |
| 25 | + }, |
| 26 | + "problemMatcher": [] |
| 27 | + }, |
| 28 | + { |
| 29 | + "label": "Hardhat - Build", |
| 30 | + "type": "shell", |
| 31 | + "command": "btp-scs hardhat build", |
| 32 | + "group": { |
| 33 | + "kind": "build", |
| 34 | + "isDefault": false |
| 35 | + }, |
| 36 | + "problemMatcher": [] |
| 37 | + }, |
| 38 | + { |
| 39 | + "label": "Foundry - Test", |
| 40 | + "type": "shell", |
| 41 | + "command": "btp-scs foundry test", |
| 42 | + "group": "test", |
| 43 | + "problemMatcher": [] |
| 44 | + }, |
| 45 | + { |
| 46 | + "label": "Hardhat - Test", |
| 47 | + "type": "shell", |
| 48 | + "command": "btp-scs hardhat test", |
| 49 | + "group": "test", |
| 50 | + "problemMatcher": [] |
| 51 | + }, |
| 52 | + { |
| 53 | + "label": "Foundry - Format", |
| 54 | + "type": "shell", |
| 55 | + "command": "btp-scs foundry format", |
| 56 | + "problemMatcher": [] |
| 57 | + }, |
| 58 | + { |
| 59 | + "label": "Foundry - Start network", |
| 60 | + "type": "shell", |
| 61 | + "command": "btp-scs foundry network", |
| 62 | + "problemMatcher": [], |
| 63 | + "isBackground": true |
| 64 | + }, |
| 65 | + { |
| 66 | + "label": "Hardhat - Start network", |
| 67 | + "type": "shell", |
| 68 | + "command": "btp-scs hardhat network", |
| 69 | + "problemMatcher": [], |
| 70 | + "isBackground": true, |
| 71 | + }, |
| 72 | + { |
| 73 | + "label": "Hardhat - Deploy to local network", |
| 74 | + "type": "shell", |
| 75 | + "command": "btp-scs hardhat deploy local ${input:extra-deployment} -m ${input:deployment-module}", |
| 76 | + "problemMatcher": [] |
| 77 | + }, |
| 78 | + { |
| 79 | + "label": "Hardhat - Reset & Deploy to local network", |
| 80 | + "type": "shell", |
| 81 | + "command": "btp-scs hardhat deploy local --reset ${input:extra-deployment} -m ${input:deployment-module}", |
| 82 | + "problemMatcher": [] |
| 83 | + }, |
| 84 | + { |
| 85 | + "label": "Hardhat - Deploy to platform network", |
| 86 | + "type": "shell", |
| 87 | + "command": "btp-scs hardhat deploy remote ${input:extra-deployment} -m ${input:deployment-module}", |
| 88 | + "problemMatcher": [] |
| 89 | + }, |
| 90 | + { |
| 91 | + "label": "Hardhat - Reset & Deploy to platform network", |
| 92 | + "type": "shell", |
| 93 | + "command": "btp-scs hardhat deploy remote --reset ${input:extra-deployment} -m ${input:deployment-module}", |
| 94 | + "problemMatcher": [] |
| 95 | + }, |
| 96 | + { |
| 97 | + "label": "The Graph - Deploy or update the subgraph", |
| 98 | + "type": "shell", |
| 99 | + "command": "btp-scs subgraph deploy", |
| 100 | + "problemMatcher": [] |
| 101 | + } |
| 102 | + ], |
| 103 | +} |
0 commit comments