generating version number on build

This commit is contained in:
minjaesong
2023-08-25 08:54:32 +09:00
parent a2ced31f8f
commit 32e750eb6a
5 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
package net.torvald.terrarum
import java.io.File
/**
* Created by minjaesong on 2023-08-25.
*/
fun main() {
val s = App.getVERSION_STRING()
val f = File("./out/build_version_string.autogen")
f.delete()
f.writeText(s)
}