chore: build no longer writes "jRandomSkills - Server Files"
Drop the csproj Copy* targets and the directory's .gitignore entry. release.sh now assembles a single tarball laid out like game/csgo/ (plugin, gamedata, compiled Panorama layouts) straight from the build output and sources; updater.json points at it.
This commit is contained in:
parent
09437a275a
commit
e94235f31b
3 changed files with 4 additions and 61 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -7,8 +7,6 @@
|
||||||
**/TestResults/
|
**/TestResults/
|
||||||
|
|
||||||
# Ignore specific project-level build dirs (legacy/explicit)
|
# Ignore specific project-level build dirs (legacy/explicit)
|
||||||
# Build output of the csproj Copy* targets; published as a release zip by release.sh.
|
|
||||||
jRandomSkills\ -\ Server Files/
|
|
||||||
jRandomSkills\ -\ SRC Files/*/bin/
|
jRandomSkills\ -\ SRC Files/*/bin/
|
||||||
jRandomSkills\ -\ SRC Files/*/obj/
|
jRandomSkills\ -\ SRC Files/*/obj/
|
||||||
WASDMenuAPI\ -\ SRC Files/*/bin/
|
WASDMenuAPI\ -\ SRC Files/*/bin/
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,8 @@
|
||||||
<PackageReference Include="MaxMind.Db" Version="5.1.0">
|
<PackageReference Include="MaxMind.Db" Version="5.1.0">
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
||||||
<!-- Drives the real Panorama skill HUD (see PlayerEvents.cs's UpdateSkillHUD) for skills
|
<!-- Drives the Panorama skill card (PlayerEvents.cs UpdatePanoramaSkillHud) and target menu
|
||||||
that don't set a custom PrintHTML override - see CLAUDE.md's "Panorama HUD" section for
|
(utils/PanoramaMenu.cs). -->
|
||||||
why that's staged separately from the 36 skills that do. -->
|
|
||||||
<PackageReference Include="PanoramaManager" Version="0.4.1" />
|
<PackageReference Include="PanoramaManager" Version="0.4.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
@ -37,7 +36,6 @@
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Properties\Resources.Designer.cs">
|
<Compile Update="Properties\Resources.Designer.cs">
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
|
|
@ -52,57 +50,4 @@
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<SourceLangDir>$(MSBuildProjectDirectory)\src\lang</SourceLangDir>
|
|
||||||
<ServerLangDir>$(MSBuildProjectDirectory)\..\jRandomSkills - Server Files\plugins\jRandomSkills\languages</ServerLangDir>
|
|
||||||
<SourceDLL>$(MSBuildProjectDirectory)\bin\$(Configuration)\$(TargetFramework)</SourceDLL>
|
|
||||||
<ServerDLL>$(MSBuildProjectDirectory)\..\jRandomSkills - Server Files\plugins\jRandomSkills</ServerDLL>
|
|
||||||
<SourceGamedataDir>$(MSBuildProjectDirectory)\src\gamedata</SourceGamedataDir>
|
|
||||||
<ServerGamedataDir>$(MSBuildProjectDirectory)\..\jRandomSkills - Server Files\gamedata</ServerGamedataDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- Copy language files to server directory -->
|
|
||||||
<Target Name="CopyLangFilesToServer" AfterTargets="Build">
|
|
||||||
<Message Text="Copying language files from $(SourceLangDir) to $(ServerLangDir)" Importance="High" />
|
|
||||||
<ItemGroup>
|
|
||||||
<LangFiles Include="$(SourceLangDir)\**\*.*" />
|
|
||||||
</ItemGroup>
|
|
||||||
<MakeDir Directories="$(ServerLangDir)" Condition="!Exists('$(ServerLangDir)')" />
|
|
||||||
<Copy SourceFiles="@(LangFiles)" DestinationFiles="@(LangFiles->'$(ServerLangDir)\\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="false" />
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<!-- Copy compiled DLL to server directory -->
|
|
||||||
<Target Name="CopyDLLToServer" AfterTargets="Build">
|
|
||||||
<Message Text="Copying compiled DLL from $(SourceDLL) to $(ServerDLL)" Importance="High" />
|
|
||||||
<ItemGroup>
|
|
||||||
<CompiledDLL Include="$(SourceDLL)\jRandomSkills.dll" />
|
|
||||||
<CompiledDLL Include="$(SourceDLL)\jRandomSkills.pdb" />
|
|
||||||
<CompiledDLL Include="$(SourceDLL)\MaxMind.Db.dll" />
|
|
||||||
<CompiledDLL Include="$(SourceDLL)\Newtonsoft.Json.dll" />
|
|
||||||
<CompiledDLL Include="$(SourceDLL)\PanoramaManager.dll" />
|
|
||||||
<!-- No PanoramaManager.pdb here - the NuGet package doesn't ship one, unlike our own
|
|
||||||
local ProjectReference builds elsewhere in this repo. -->
|
|
||||||
</ItemGroup>
|
|
||||||
<MakeDir Directories="$(ServerDLL)" Condition="!Exists('$(ServerDLL)')" />
|
|
||||||
<Copy SourceFiles="@(CompiledDLL)" DestinationFiles="@(CompiledDLL->'$(ServerDLL)\\%(Filename)%(Extension)')" SkipUnchangedFiles="false" />
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<!-- Copy packages (GeoLite2 country database) to server directory -->
|
|
||||||
<Target Name="CopyPackagesToServer" AfterTargets="Build">
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageFiles Include="$(MSBuildProjectDirectory)\packages\**\*.*" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Copy SourceFiles="@(PackageFiles)" DestinationFiles="@(PackageFiles->'$(ServerDLL)\packages\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="false" />
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<!-- Copy gamedata files to server directory -->
|
|
||||||
<Target Name="CopyGamedataFilesToServer" AfterTargets="Build">
|
|
||||||
<Message Text="Copying gamedata files from $(SourceGamedataDir) to $(ServerGamedataDir)" Importance="High" />
|
|
||||||
<ItemGroup>
|
|
||||||
<GamedataFiles Include="$(SourceGamedataDir)\**\*.*" />
|
|
||||||
</ItemGroup>
|
|
||||||
<MakeDir Directories="$(ServerGamedataDir)" Condition="!Exists('$(ServerGamedataDir)')" />
|
|
||||||
<Copy SourceFiles="@(GamedataFiles)" DestinationFiles="@(GamedataFiles->'$(ServerGamedataDir)\\%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="false" />
|
|
||||||
</Target>
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@
|
||||||
{
|
{
|
||||||
"version": "v1.2.4.b2-panorama1",
|
"version": "v1.2.4.b2-panorama1",
|
||||||
"release_date": "2026-09-24",
|
"release_date": "2026-09-24",
|
||||||
"download": "https://git.zio.sh/cs2/jRandomSkills/releases/download/v1.2.4.b2-panorama1/jRandomSkills.v1.2.4.b2-panorama1.zip",
|
"download": "https://git.zio.sh/cs2/jRandomSkills/releases/download/v1.2.4.b2-panorama1/jRandomSkills-v1.2.4.b2-panorama1.tar.gz",
|
||||||
"output_folder": "addons/counterstrikesharp/"
|
"output_folder": "./"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "v1.2.3.b3",
|
"version": "v1.2.3.b3",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue