File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
generator/src/main/kotlin/io/github/hosseinkarami_dev/near/rpc/generator Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,19 @@ fun main(args: Array<String>) {
4747 val nearClientFile = File (clientOut + clientPackage.replace(" ." , " /" ))
4848
4949
50+ println (" Root dir: $rootDir " )
51+ println (" Serializer folder: ${serializerFiles.absolutePath} " )
52+ println (" Model folder: ${modelFiles.absolutePath} " )
53+ println (" Client folder: ${nearClientFile.absolutePath} " )
54+
5055 serializerFiles.mkdirs()
5156 modelFiles.mkdirs()
5257 nearClientFile.mkdirs()
5358
59+ println (" Serializer exists? ${serializerFiles.exists()} " )
60+ println (" Model exists? ${modelFiles.exists()} " )
61+ println (" Client exists? ${nearClientFile.exists()} " )
62+
5463 serializerFiles.takeIf { it.exists() }?.listFiles()?.forEach { it.delete() }
5564 modelFiles.takeIf { it.exists() }?.listFiles()?.forEach { it.delete() }
5665
You can’t perform that action at this time.
0 commit comments