Skip to content

Latest commit

 

History

History
88 lines (83 loc) · 1.57 KB

File metadata and controls

88 lines (83 loc) · 1.57 KB

Plugin.Games

Todo:

Bugs:

Project Directories

  • Repo
- cd "C:\Users\path\to\your\projects\Plugin.Games"
  • Nuget
cd "C:\Users\path\to\your\projects\Plugin.Games\src\Plugin.Games"
  • Test
cd "C:\Users\path\to\your\projects\Plugin.Games\src\GamesTests\GamesMauiTest"

Build

Restore

dotnet restore "src"

Clean

dotnet clean "src"

Build

dotnet build "src"

Build Nuget

dotnet build "src\Plugin.Games\Plugin.Games.csproj"

Build Nuget Release

dotnet build "src\Plugin.Games\Plugin.Games.csproj" -c release

Build Test

dotnet build "src\GamesTests\GamesMauiTest\GamesTest.csproj"

Build Test Release

dotnet build "src\GamesTests\GamesMauiTest\GamesTest.csproj" -c release

GitHub Publishing Commands

  • Navigate to the directory
cd "C:\Users\path\to\your\projects\Plugin.Games"
  • Check the remote for changes.
git fetch
git status
  • Pull any pending commits if behind
git pull
  • Verify local repo is up to date against remote repo.
git status
  • Add Changes to the local repo.
git add .
  • Commit changes
git commit -m "Initial commit with project files"
  • Verify on main branch
git branch -m main
  • Push commit to the remote repo
git push -u origin main

Push package for private publishing.

dotnet nuget push "C:\Users\path\to\your\projects\Plugin.Games\b\Release\Plugin.Games.10.0.40.nupkg" --source "https://nuget.pkg.github.com/yourgithubusername/index.json" --api-key $env:GITHUBTOKEN