Add API to get version information (#2309)
This commit is contained in:
8
kotlin-api-examples/test_version.kt
Normal file
8
kotlin-api-examples/test_version.kt
Normal file
@@ -0,0 +1,8 @@
|
||||
package com.k2fsa.sherpa.onnx
|
||||
|
||||
fun main() {
|
||||
println("sherpa-onnx version: ${VersionInfo.version}");
|
||||
println("sherpa-onnx gitSha1: ${VersionInfo.gitSha1}");
|
||||
println("sherpa-onnx gitDate: ${VersionInfo.gitDate}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user