mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2025-02-22 04:45:08 +00:00
rename build command to avoid overriding built-in
This commit is contained in:
parent
1fb435416f
commit
3aab5922ab
13
Taskfile.yml
13
Taskfile.yml
@ -2,16 +2,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:
|
||||
default:
|
||||
desc: Build the addon
|
||||
cmds:
|
||||
- task: build
|
||||
|
||||
copy:
|
||||
desc: Copy sources files to scratchpad directory
|
||||
platforms: [windows]
|
||||
vars:
|
||||
SOURCE: addon\globalPlugins\voicemeeter
|
||||
DEST: ${env:appdata}\nvda\scratchpad\globalPlugins\voicemeeter\
|
||||
cmds:
|
||||
- "{{.SHELL}} -Command 'robocopy {{.SOURCE}} {{.DEST}} /XD {{.IGNORE}} /NDL'"
|
||||
- "{{.SHELL}} -Command 'robocopy {{.SOURCE}} {{.DEST}} /NDL'"
|
||||
ignore_error: true
|
||||
|
||||
build:
|
||||
|
@ -21,7 +21,7 @@ distribution = false
|
||||
|
||||
[tool.pdm.scripts]
|
||||
copy = "task copy"
|
||||
build = "task build"
|
||||
release = "task build"
|
||||
|
||||
[tool.ruff]
|
||||
exclude = [
|
||||
|
Loading…
Reference in New Issue
Block a user