Skip to content

Commit

Permalink
Update createqmod script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatenshi committed Jul 30, 2024
1 parent f42057c commit b54d1c6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions createqmod.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,30 @@ foreach ($mod in $modJson.modFiles) {
$filelist += $path
}

foreach ($mod in $modJson.earlyModFiles) {
$path = "./build/" + $mod
if (-not (Test-Path $path)) {
$path = "./extern/libs/" + $mod
}
if (-not (Test-Path $path)) {
Write-Output "Error: could not find dependency: $path"
exit 1
}
$filelist += $path
}

foreach ($mod in $modJson.lateModFiles) {
$path = "./build/" + $mod
if (-not (Test-Path $path)) {
$path = "./extern/libs/" + $mod
}
if (-not (Test-Path $path)) {
Write-Output "Error: could not find dependency: $path"
exit 1
}
$filelist += $path
}

foreach ($lib in $modJson.libraryFiles) {
$path = "./build/" + $lib
if (-not (Test-Path $path)) {
Expand Down

0 comments on commit b54d1c6

Please sign in to comment.