chore: stop tracking build output, ship it as a release instead
"jRandomSkills - Server Files" is now gitignored build output; releases carry the built plugin. The GeoLite2 country database moves to "jRandomSkills - SRC Files/packages" and a new CopyPackagesToServer target copies it into the build output. The shipped configs are dropped: the plugin writes config.json and skillsInfo.json itself when they are missing.
This commit is contained in:
parent
7810c6e302
commit
09437a275a
18 changed files with 10 additions and 8312 deletions
|
|
@ -88,6 +88,14 @@
|
|||
<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" />
|
||||
|
|
|
|||
BIN
jRandomSkills - SRC Files/packages/GeoLite2-Country.mmdb
Normal file
BIN
jRandomSkills - SRC Files/packages/GeoLite2-Country.mmdb
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue