1
0
mirror of https://github.com/drewcassidy/KSP-DepthMask synced 2024-09-01 14:54:35 +00:00

Rework build system to be automated

This commit is contained in:
2022-10-23 21:49:53 -07:00
parent be4315fabe
commit ee58bda08a
6 changed files with 214 additions and 2 deletions

View File

@ -0,0 +1,14 @@
using System.Reflection;
// KSP assembly information
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersionAttribute("{{ ver_major }}.{{ ver_minor }}.{{ ver_patch }}")]
[assembly: AssemblyInformationalVersionAttribute("{{ ver_major }}.{{ ver_minor }}.{{ ver_patch }}")]
[assembly: KSPAssembly("DepthMask", {{ ver_major }}, {{ ver_minor }}, {{ ver_patch }})]
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyCopyright("2022 Andrew Cassidy")]

View File

@ -0,0 +1,20 @@
{
"NAME":"DepthMask",
"URL":"https://github.com/drewcassidy/KSP-DepthMask/releases/latest/download/DepthMask.version",
"DOWNLOAD":"https://github.com/drewcassidy/KSP-DepthMask/releases/latest",
"CHANGE_LOG_URL":"https://github.com/drewcassidy/KSP-DepthMask/blob/master/CHANGELOG.md"
"VERSION": {
"MAJOR": {{ ver_major }},
"MINOR": {{ ver_minor }},
"PATCH": {{ ver_patch }},
"BUILD": {{ ver_build }}
},
"KSP_VERSION_MIN": {
"MAJOR":1,
"MINOR":11
},
"KSP_VERSION_MAX": {
"MAJOR":1,
"MINOR":12
}
}