diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..112e9a77 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,18 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "PowerShell: Debug Module", + "type": "PowerShell", + "request": "launch", + "script": "Import-Module -Force ${workspaceFolder}/ImportExcel/ImportExcel.psd1", + }, + { + "name": "PowerShell: Launch Current File", + "type": "PowerShell", + "request": "launch", + "script": "if ($null -eq (Get-Module ImportExcel)) { Import-Module ${workspaceFolder}/ImportExcel/ImportExcel.psd1 }; ${file}", + "cwd": "${cwd}" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..f6885ec0 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,31 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "${workspaceFolder}\\build.ps1 | Out-Null", + "type": "shell", + "args": [], + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "reveal": "silent" + } + }, + { + "label": "test", + "command": "${workspaceFolder}\\RunTests.ps1", + "type": "shell", + "args": ["-NoIsolation"], + "group": { + "kind": "test", + "isDefault": true + }, + "presentation": { + "reveal": "always" + } + } + ] +} \ No newline at end of file