Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support installer declarations #100

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a21f519
add install config definitions
Lordfirespeed Feb 14, 2024
5133b24
add install config to encompassing config
Lordfirespeed Feb 14, 2024
d5386ae
allow config providers to provide install config
Lordfirespeed Feb 14, 2024
f482371
add base implementation of GetInstallConfig
Lordfirespeed Feb 14, 2024
fa553fa
add InstallData member to ThunderstoreProject
Lordfirespeed Feb 14, 2024
e78e738
initialize Install data from parameterless ctor
Lordfirespeed Feb 14, 2024
2f48028
Initialize Install data from Config instance
Lordfirespeed Feb 14, 2024
477927e
override GetInstallConfig in ProjectFileConfig (provider)
Lordfirespeed Feb 14, 2024
a579ec7
add installer declarations field to package manifest definition
Lordfirespeed Feb 14, 2024
3344202
Write install config from `Config` instance to `PackageManifestV1` wh…
Lordfirespeed Feb 14, 2024
9b61bc4
remove unused 'using' directives
Lordfirespeed Feb 14, 2024
577b6af
to expression-bodied properties
Lordfirespeed Feb 14, 2024
bb8f07c
implement GetInstallConfig for default config provider
Lordfirespeed Feb 14, 2024
6f57fbc
update to language version 12
Lordfirespeed Feb 14, 2024
a7ec319
use collection expressions
Lordfirespeed Feb 14, 2024
96b2969
standardise fluent-chaining newlines
Lordfirespeed Feb 14, 2024
8899748
remove redundant empty parameters `()`
Lordfirespeed Feb 14, 2024
cd9a6d1
remove redundant null-forgiving
Lordfirespeed Feb 14, 2024
1b3bcb6
remove inaccurate nullable return type annotations
Lordfirespeed Feb 14, 2024
9dddd68
add JsonIgnore attribute to computed FullName property
Lordfirespeed Feb 15, 2024
05a142e
extract MergeConfigFromProvider method
Lordfirespeed Feb 15, 2024
7010ed5
add BlankConfig and DefaultConfig getters
Lordfirespeed Feb 15, 2024
db7ed25
use default config for `tcli init` command
Lordfirespeed Feb 15, 2024
20e6bcc
move default values out of ThunderstoreProject into DefaultConfig
Lordfirespeed Feb 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unused 'using' directives
  • Loading branch information
Lordfirespeed committed Feb 14, 2024
commit 9b61bc438d88939d6b1a5c33b07792a99814c6ab
1 change: 0 additions & 1 deletion ThunderstoreCLI/Commands/InstallCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Diagnostics;
using System.IO.Compression;
using System.Net.Http.Headers;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using ThunderstoreCLI.Configuration;
1 change: 0 additions & 1 deletion ThunderstoreCLI/Commands/RunCommand.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
using ThunderstoreCLI.Configuration;
using ThunderstoreCLI.Game;
using ThunderstoreCLI.Utils;
1 change: 0 additions & 1 deletion ThunderstoreCLI/Configuration/ProjectFileConfig.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using ThunderstoreCLI.Models;
using ThunderstoreCLI.Utils;
using static Crayon.Output;

namespace ThunderstoreCLI.Configuration;
2 changes: 0 additions & 2 deletions ThunderstoreCLI/Game/ModProfile.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
using ThunderstoreCLI.Models;

namespace ThunderstoreCLI.Game;
1 change: 0 additions & 1 deletion ThunderstoreCLI/Models/SchemaResponse.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using ThunderstoreCLI.Configuration;
using ThunderstoreCLI.Game;
using ThunderstoreCLI.Utils;

namespace ThunderstoreCLI.Models;

1 change: 0 additions & 1 deletion ThunderstoreCLI/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Diagnostics;
using CommandLine;
using ThunderstoreCLI.Models;
using ThunderstoreCLI.Utils;

namespace ThunderstoreCLI;
1 change: 0 additions & 1 deletion ThunderstoreCLI/Utils/SteamUtils.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security.AccessControl;
using System.Text.RegularExpressions;
using Microsoft.Win32;