JS update IDL definitions, append source URL to downloaded file
This commit is contained in:
committed by
Sergey Mashkov
parent
7033b27ea8
commit
b34da5713d
@@ -69,6 +69,7 @@ fun main(args: Array<String>) {
|
||||
val (url) = pair
|
||||
println("Loading ${url}...")
|
||||
|
||||
w.appendln("// Downloaded from $url")
|
||||
if (url.endsWith(".idl")) {
|
||||
w.appendln(URL(url).readText())
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user