mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2026-04-18 09:03:30 +00:00
add Taskfile
invoke tasks from pdm
This commit is contained in:
21
Taskfile.yml
Normal file
21
Taskfile.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: '3'
|
||||
|
||||
vars:
|
||||
SHELL: pwsh
|
||||
SOURCE: addon\globalPlugins\voicemeeter
|
||||
DEST: ${env:appdata}\nvda\scratchpad\globalPlugins\voicemeeter\
|
||||
IGNORE: ${env:appdata}\nvda\scratchpad\globalPlugins\voicemeeter\__pycache__\
|
||||
|
||||
tasks:
|
||||
copy:
|
||||
desc: Copy sources files to scratchpad directory
|
||||
platforms: [windows]
|
||||
cmds:
|
||||
- "{{.SHELL}} -Command 'robocopy {{.SOURCE}} {{.DEST}} /NDL'"
|
||||
ignore_error: true
|
||||
|
||||
build:
|
||||
desc: Build the addon
|
||||
platforms: [windows]
|
||||
cmds:
|
||||
- '{{.SHELL}} -Command "scons"'
|
||||
Reference in New Issue
Block a user