mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-18 05:23:32 +00:00
add Taskfile
upd tasks in launch.json add with Task to Run tests in README
This commit is contained in:
11
Taskfile.yaml
Normal file
11
Taskfile.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
test:
|
||||
desc: 'Run tests'
|
||||
preconditions:
|
||||
- sh: 'pwsh -c "if ([System.Version](Get-InstalledModule Pester).Version.ToString() -gt [System.Version]"5.7.0") { exit 0 } else { exit 1 }"'
|
||||
msg: 'Pester version must be greater than 5.7.0'
|
||||
cmds:
|
||||
- echo "Running tests..."
|
||||
- pwsh -c "tests\run.ps1 {{.CLI_ARGS}}"
|
||||
Reference in New Issue
Block a user