Skip to content

Commit

Permalink
fix make.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
theavege committed Nov 4, 2024
1 parent 7a88390 commit 6d84d35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions make.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ Function PrivMain {
'build' {
PrivPrepare
If (Test-Path -Path 'use') {
Start-Process -PassThru -Wait -FilePath 'git' -ArgumentList 'submodule', 'update', '--recursive', '--init'
Start-Process -PassThru -Wait -FilePath 'git' -ArgumentList 'submodule', 'update', '--recursive', '--remote'
Start-Process -Wait -FilePath 'git' -ArgumentList 'submodule', 'update', '--recursive', '--init'
Start-Process -Wait -FilePath 'git' -ArgumentList 'submodule', 'update', '--recursive', '--remote'
Get-ChildItem -Filter '*.lpk' -Recurse -File –Path 'use' | ForEach-Object {
Start-Process -PassThru -Wait -FilePath 'lazbuild' -ArgumentList '--add-package-link', $_.Name
}
}
Get-ChildItem -Filter '*.lpi' -Recurse -File –Path 'src' | ForEach-Object {
Start-Process -PassThru -Wait -FilePath 'lazbuild' -ArgumentList '--no-write-project', '--recursive', '--build-mode=release', $_.Name
Start-Process -Wait -FilePath 'lazbuild' -ArgumentList '--no-write-project', '--recursive', '--build-mode=release', $_.Name
}
}
Default {
Expand Down

0 comments on commit 6d84d35

Please sign in to comment.