Copy icons and raw chains - closes 1186

This commit is contained in:
ligi 2022-06-13 06:42:41 +02:00
parent 33b37d0113
commit f761550d62
No known key found for this signature in database
GPG Key ID: 8E81894010ABF23D

View File

@ -34,6 +34,7 @@ private fun createOutputFiles() {
val miniChainJSONArray = JsonArray<JsonObject>()
val shortNameMapping = JsonObject()
File(basePath, "_data").copyRecursively(buildPath)
allChainFiles
.map { Klaxon().parseJsonObject(it.reader()) }
.sortedBy { (it["chainId"] as Number).toLong() }