forked from Crockan/MercuryToolbox
chore(release): prepare public source release
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace MissingOnly
|
||||
{
|
||||
public static class MissingMarker
|
||||
{
|
||||
public static void Touch()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<AssemblyName>MissingOnly</AssemblyName>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>MissingOnly</RootNamespace>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
<Version>1.0.0</Version>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,18 @@
|
||||
using HarmonyLib;
|
||||
using MissingOnly;
|
||||
using Rocket.Runtime;
|
||||
using TestOnlySupport;
|
||||
|
||||
namespace Rocket.Plugin
|
||||
{
|
||||
public sealed class PluginEntry
|
||||
{
|
||||
public string Run(string value)
|
||||
{
|
||||
CompileOnlyType.Touch();
|
||||
MissingMarker.Touch();
|
||||
TestMarker.Touch();
|
||||
return RuntimeFeature.RequiredMethod(value) + Harmony.VersionInfo();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<AssemblyName>RootPlugin</AssemblyName>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>Rocket.Plugin</RootNamespace>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
<Version>1.0.0</Version>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="RuntimeDependency">
|
||||
<HintPath>..\..\diagnose-bin\compile\RuntimeDependency.dll</HintPath>
|
||||
<Private>false</Private>
|
||||
</Reference>
|
||||
<Reference Include="0Harmony">
|
||||
<HintPath>..\..\diagnose-bin\compile\0Harmony.dll</HintPath>
|
||||
<Private>false</Private>
|
||||
</Reference>
|
||||
<Reference Include="TestOnlySupport">
|
||||
<HintPath>..\..\diagnose-bin\compile\TestOnlySupport.dll</HintPath>
|
||||
<Private>false</Private>
|
||||
</Reference>
|
||||
<Reference Include="MissingOnly">
|
||||
<HintPath>..\..\diagnose-bin\compile\MissingOnly.dll</HintPath>
|
||||
<Private>false</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<AssemblyName>RuntimeDependency</AssemblyName>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>Rocket.Runtime</RootNamespace>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
<Version>1.0.0</Version>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace Rocket.Runtime
|
||||
{
|
||||
public sealed class RuntimeFeature
|
||||
{
|
||||
public static string RequiredMethod(string value)
|
||||
{
|
||||
return "compile:" + value;
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class CompileOnlyType
|
||||
{
|
||||
public static void Touch()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<AssemblyName>RuntimeDependency</AssemblyName>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>Rocket.Runtime</RootNamespace>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<FileVersion>2.0.0.0</FileVersion>
|
||||
<Version>2.0.0</Version>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace Rocket.Runtime
|
||||
{
|
||||
public sealed class RuntimeFeature
|
||||
{
|
||||
public static string ReplacementOnly(string value)
|
||||
{
|
||||
return "server:" + value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace TestOnlySupport
|
||||
{
|
||||
public static class TestMarker
|
||||
{
|
||||
public static void Touch()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<AssemblyName>TestOnlySupport</AssemblyName>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>TestOnlySupport</RootNamespace>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
<Version>1.0.0</Version>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace HarmonyLib
|
||||
{
|
||||
public static class Harmony
|
||||
{
|
||||
public static string VersionInfo()
|
||||
{
|
||||
return "2.2.2";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<AssemblyName>0Harmony</AssemblyName>
|
||||
<DebugType>none</DebugType>
|
||||
<RootNamespace>HarmonyLib</RootNamespace>
|
||||
<AssemblyVersion>2.2.2.0</AssemblyVersion>
|
||||
<FileVersion>2.2.2.0</FileVersion>
|
||||
<Version>2.2.2</Version>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user