Update download-native-deps.ps1 to include JSON files.

internals
Eric Mellino 3 years ago
parent 1256c7634c
commit ad8a51eb2a
  1. 24
      download-native-deps.ps1

@ -63,3 +63,27 @@ if( -not $? )
} }
Write-Host - cimgui.dylib Write-Host - cimgui.dylib
$client.DownloadFile(
"https://github.com/mellinoe/imgui.net-nativebuild/releases/download/$tag/definitions.json",
"$PSScriptRoot/src/CodeGenerator/definitions/cimgui/definitions.json")
if( -not $? )
{
$msg = $Error[0].Exception.Message
Write-Error "Couldn't download definitions.json."
exit
}
Write-Host - definitions.json
$client.DownloadFile(
"https://github.com/mellinoe/imgui.net-nativebuild/releases/download/$tag/structs_and_enums.json",
"$PSScriptRoot/src/CodeGenerator/definitions/cimgui/structs_and_enums.json")
if( -not $? )
{
$msg = $Error[0].Exception.Message
Write-Error "Couldn't download structs_and_enums.json."
exit
}
Write-Host - structs_and_enums.json
Loading…
Cancel
Save