mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
Copy icons and raw chains - closes 1186
This commit is contained in:
parent
33b37d0113
commit
f761550d62
|
@ -34,6 +34,7 @@ private fun createOutputFiles() {
|
||||||
val miniChainJSONArray = JsonArray<JsonObject>()
|
val miniChainJSONArray = JsonArray<JsonObject>()
|
||||||
val shortNameMapping = JsonObject()
|
val shortNameMapping = JsonObject()
|
||||||
|
|
||||||
|
File(basePath, "_data").copyRecursively(buildPath)
|
||||||
allChainFiles
|
allChainFiles
|
||||||
.map { Klaxon().parseJsonObject(it.reader()) }
|
.map { Klaxon().parseJsonObject(it.reader()) }
|
||||||
.sortedBy { (it["chainId"] as Number).toLong() }
|
.sortedBy { (it["chainId"] as Number).toLong() }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user