parent
f1ac9892a2
commit
51d0c24e1e
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ proc genGodotApi() =
|
|||
const jsonFile = targetDir/"api.json"
|
||||
if not fileExists(jsonFile) or
|
||||
godotBin.getLastModificationTime() > jsonFile.getLastModificationTime():
|
||||
direShell(godotBin, "--gdnative-generate-json-api", jsonFile)
|
||||
direShell(godotBin, "--gdnative-generate-json-api", getCurrentDir()/jsonFile)
|
||||
if not fileExists(jsonFile):
|
||||
echo "Failed to generate api.json"
|
||||
quit(-1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue