From ba61cd5661b91b3a3f27df1911f2dac4bc8e923f Mon Sep 17 00:00:00 2001 From: Roderik van der Veer Date: Sun, 23 Jun 2024 19:10:27 +0200 Subject: [PATCH] feat: add extra deployment params --- .vscode/tasks.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1978c3f..3bc9017 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -58,13 +58,13 @@ { "label": "Hardhat - Deploy to local network", "type": "shell", - "command": "btp-scs hardhat deploy local -m ${input:deployment-module}", + "command": "btp-scs hardhat deploy local -m ${input:deployment-module} ${input:extra-deployment}", "problemMatcher": [] }, { "label": "Hardhat - Deploy to platform network", "type": "shell", - "command": "btp-scs hardhat deploy remote -m ${input:deployment-module}", + "command": "btp-scs hardhat deploy remote -m ${input:deployment-module} ${input:extra-deployment}", "problemMatcher": [] }, { @@ -80,6 +80,12 @@ "description": "Hardhat Ignition Module", "type": "promptString", "default": "ignition/modules/Diamond.ts" - } + }, + { + "id": "extra-deployment", + "description": "Extra commandline arguments, [--verify] [--reset]", + "type": "promptString", + "default": "" + }, ] -} \ No newline at end of file +}