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 "$HOME/path/to/your/projects/Plugin.Games"
  • Source
cd "$HOME/path/to/your/projects/Plugin.Games/src/Plugin.Games"
  • Test
cd "$HOME/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 "$HOME/Visual Studio 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 "$HOME/path/to/your/projects/Plugin.Games/src/Plugin.Games/bin/release/Plugin.Games.10.0.40.nupkg" --source "https://nuget.pkg.github.com/yourgithubusername/index.json" --api-key $GITHUBTOKEN