-
Notifications
You must be signed in to change notification settings - Fork 1
/
Taskfile.yaml
40 lines (32 loc) · 873 Bytes
/
Taskfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# https://taskfile.dev
version: '3'
tasks:
all:
- task: clean
- task: format
- task: build
- task: pack
- task: install
build:
cmds:
- dotnet build src/LudusaviRestic.csproj --configuration Release
format:
cmds:
- dotnet format src/LudusaviRestic.csproj
pack:
deps:
- build
cmds:
- powershell cp -Recurse -Force src/bin/Release/net462/ .\dist\raw\
- ~/AppData/Local/Playnite/Toolbox.exe pack src/bin/Release/net462/ dist
# - powershell mv ./dist/*.pext
clean:
cmds:
- powershell -command "Remove-Item -Force -Recurse .\dist -ErrorAction Ignore" || true
- powershell -command "Remove-Item -Force -Recurse .\src\bin\ -ErrorAction Ignore" || true
install:
cmds:
- powershell ./dist/*.pext
logs:
cmds:
- powershell "Get-Content ~/Appdata/Roaming/Playnite/extensions.log" -Wait