mirror of
https://github.com/onyx-and-iris/nvda-addon-voicemeeter.git
synced 2025-02-22 21:05:07 +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:
|
vars:
|
||||||
SHELL: pwsh
|
SHELL: pwsh
|
||||||
SOURCE: addon\globalPlugins\voicemeeter
|
|
||||||
DEST: ${env:appdata}\nvda\scratchpad\globalPlugins\voicemeeter\
|
|
||||||
IGNORE: ${env:appdata}\nvda\scratchpad\globalPlugins\voicemeeter\__pycache__\
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
default:
|
||||||
|
desc: Build the addon
|
||||||
|
cmds:
|
||||||
|
- task: build
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
desc: Copy sources files to scratchpad directory
|
desc: Copy sources files to scratchpad directory
|
||||||
platforms: [windows]
|
platforms: [windows]
|
||||||
|
vars:
|
||||||
|
SOURCE: addon\globalPlugins\voicemeeter
|
||||||
|
DEST: ${env:appdata}\nvda\scratchpad\globalPlugins\voicemeeter\
|
||||||
cmds:
|
cmds:
|
||||||
- "{{.SHELL}} -Command 'robocopy {{.SOURCE}} {{.DEST}} /XD {{.IGNORE}} /NDL'"
|
- "{{.SHELL}} -Command 'robocopy {{.SOURCE}} {{.DEST}} /NDL'"
|
||||||
ignore_error: true
|
ignore_error: true
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
@ -21,7 +21,7 @@ distribution = false
|
|||||||
|
|
||||||
[tool.pdm.scripts]
|
[tool.pdm.scripts]
|
||||||
copy = "task copy"
|
copy = "task copy"
|
||||||
build = "task build"
|
release = "task build"
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
exclude = [
|
exclude = [
|
||||||
|
Loading…
Reference in New Issue
Block a user