mirror of https://github.com/axmolengine/axmol.git
Fix gendocs ci
This commit is contained in:
parent
692688accf
commit
d5cb9d4d1e
|
@ -26,10 +26,11 @@ function download_file($url, $out) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function download_zip_expand($url, $out, $dest = $null) {
|
function download_zip_expand($url, $out, $dest = $null) {
|
||||||
download_file $url $out
|
|
||||||
if (!$dest) {
|
if (!$dest) {
|
||||||
$dest = $(Split-Path $out -Parent)
|
$dest = $(Split-Path $out -Parent)
|
||||||
}
|
}
|
||||||
|
mkdirs $dest
|
||||||
|
download_file $url $out
|
||||||
Expand-Archive -Path $out -DestinationPath $dest
|
Expand-Archive -Path $out -DestinationPath $dest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue