Single file publish support, test project and simple build CI
This also adds remote raspberry pi debugging with default install details. More testing is required as MonoMod may not be working for arm64 still CI might not work yet either
This commit is contained in:
parent
c159f2b388
commit
2c36dacfd2
8 changed files with 241 additions and 29 deletions
39
.vscode/tasks.json
vendored
39
.vscode/tasks.json
vendored
|
|
@ -12,6 +12,45 @@
|
|||
"/consoleloggerparameters:NoSummary"
|
||||
],
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "Publish",
|
||||
"options": {
|
||||
"cwd": "TShockLauncher"
|
||||
},
|
||||
"command": "dotnet",
|
||||
"type": "process",
|
||||
"args": [
|
||||
"publish",
|
||||
"-c",
|
||||
"Debug",
|
||||
"--self-contained",
|
||||
"true",
|
||||
"-r",
|
||||
"linux-arm64",
|
||||
"/nowarn:CS1591",
|
||||
"/nowarn:CS1587"
|
||||
],
|
||||
},
|
||||
{
|
||||
"label": "Remote Publish",
|
||||
"options": {
|
||||
"cwd": "TShockLauncher/bin/Debug/net6.0/linux-arm64"
|
||||
},
|
||||
"command": "C:\\Program Files\\PuTTY\\pscp.exe",
|
||||
"type": "process",
|
||||
"args": [
|
||||
"-pw",
|
||||
"raspberry",
|
||||
"-sftp",
|
||||
"-p",
|
||||
"-r",
|
||||
"publish",
|
||||
"pi@raspberrypi:/home/pi/tshockdev"
|
||||
],
|
||||
"dependsOn": [
|
||||
"Publish"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue