-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
873 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog][Keep a Changelog] and this project adheres to [Semantic Versioning][Semantic Versioning]. | ||
|
||
## [Unreleased] | ||
|
||
## [Released] | ||
|
||
## [1.0.0] - 2021-02-XX | ||
|
||
### Added | ||
|
||
- Everything. This is the first release. | ||
|
||
<!-- Links --> | ||
[Keep a Changelog]: https://keepachangelog.com/ | ||
[Semantic Versioning]: https://semver.org/ | ||
|
||
[Unreleased]: https://github.com/erri120/GameFinder/compare/v1.0.0...HEAD | ||
[Released]: https://github.com/erri120/GameFinder/releases | ||
[1.0.0]: https://github.com/erri120/GameFinder/releases/v1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Contributing | ||
|
||
## Requirements | ||
|
||
- [.NET SDK](https://dotnet.microsoft.com/download) | ||
- IDE: [Visual Studio](https://visualstudio.microsoft.com/) or [Rider](https://www.jetbrains.com/rider/) | ||
|
||
## Running Unit Tests | ||
|
||
Unit Tests for each Store Handler derive of [`AStoreHandlerTest.cs`](GameFinder.Tests/AStoreHandlerTest.cs) which has the actual test function. Derivatives of `AStoreHandlerTest` can override the Setup and Cleanup function as well as add custom checks before or after finding the games. | ||
|
||
The setup functions are intended for use in a CI environment where the `CI` variable is set to `true`. During development I don't recommend setting this variable because some setup functions will modify your registry which you might not want. | ||
|
||
I recommend only running the Unit Tests for the specific Store Handler you are currently working on so you don't have to deal with the other setup functions as well. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net5.0-windows</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\GameFinder\GameFinder.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using GameFinder.StoreHandlers.Steam; | ||
|
||
namespace GameFinder.Example | ||
{ | ||
public static class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
var steamHandler = new SteamHandler(); | ||
steamHandler.FindAllGames(); | ||
foreach (var steamGame in steamHandler.Games) | ||
{ | ||
Console.WriteLine($"{steamGame} is located at {steamGame.Path}"); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.