mirror of
https://github.com/prime31/FNA-VSCode-Template.git
synced 2025-10-31 21:50:44 +07:00
new command to update Nez
This commit is contained in:
parent
cabcc26e0e
commit
8c4c9d34ad
22
.vscode/tasks.json
vendored
22
.vscode/tasks.json
vendored
@ -8,6 +8,28 @@
|
||||
"group": "build",
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
|
||||
{
|
||||
// this does a bunch of stuff:
|
||||
// - update submodules to lastest (fetch latest Nez version)
|
||||
// - restore Nez.sln (nuget restore to get latest packages)
|
||||
// - build Nez.sln (build to get latest Pipeline DLLs)
|
||||
// - restore Nez.FNA.sln (nuget restore Nez.FNA)
|
||||
// - build Nez.FNA.sln (build Nez.FNA)
|
||||
"label": "Update, Restore and Rebuild Nez",
|
||||
"type": "shell",
|
||||
"command": "git submodule foreach --recursive git pull ; msbuild Nez/Nez.sln /t:restore; msbuild Nez/Nez.sln ; msbuild Nez/Nez.FNA.sln /t:restore ; msbuild Nez/Nez.FNA.sln",
|
||||
"group": "build",
|
||||
"problemMatcher": "$msCompile",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "always",
|
||||
"focus": false,
|
||||
"panel": "shared",
|
||||
"showReuseMessage": false,
|
||||
"clear": true
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"label": "Clean Project",
|
||||
|
||||
@ -33,6 +33,7 @@ If you want to see the output of `Debug.*` calls in the VS Code Debug Console, y
|
||||
|
||||
## Build Tasks ##
|
||||
- **Restore Project:** Restores the .csproj. Run it again whenever you change the .csproj file.
|
||||
- **Restore and Rebuild Nez:** Fetches the latest version of Nez from GitHub, restores and rebuilds Nez
|
||||
- **Build (Debug/Release):** Builds the project with the specified configuration but does not run it. This also runs MGCB.exe, copies over everything in the `Content` and `CompiledContent` subdirectories and the fnalibs.
|
||||
- **Build and Run (Debug/Release):** Builds and runs the project. On MacOS, it runs the output with Mono. On Windows, it runs the output with .NET Framework.
|
||||
- **Clean Project:** Cleans the output directories and all their subdirectories.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user