Skip to content

Commit

Permalink
Test with more apps
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstrup1 committed Feb 3, 2025
1 parent b1cf708 commit 01733ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
8 changes: 6 additions & 2 deletions build/scripts/AppExtensionsHelper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ function Update-Dependencies() {
# Copy apps to packagecachepath
$projectFolder = $CompilationParameters["appProjectFolder"]
$SymbolsFolder = $CompilationParameters["appSymbolsFolder"]

# Log what is in the symbols folder
Write-Host "Symbols folder: $SymbolsFolder"
Get-ChildItem -Path $SymbolsFolder

# Find out which version of the apps we need
$artifactVersion = "https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/26.0.29478.0/platform"
Expand Down Expand Up @@ -70,10 +74,10 @@ function Update-Dependencies() {
# Find the created .app file in the newSymbolsFolder
$appFiles = Get-ChildItem -Path $newSymbolsFolder -Filter "*$App*.app"
# Copy the new app files to the symbols folder
foreach ($appFile in $appFiles) {
<#foreach ($appFile in $appFiles) {
Write-Host "Copying $appFile to $SymbolsFolder"
$appFile | Copy-Item -Destination $SymbolsFolder -Force
}
}#>
#
<#
# Copy the new app files to the symbols folder
Expand Down
5 changes: 4 additions & 1 deletion build/scripts/PreCompileApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ if($appType -eq 'app')

if ($recompileDependencies) {
Import-Module $PSScriptRoot\AppExtensionsHelper.psm1
Update-Dependencies -App "System Application" -CompilationParameters ($parameters.Value.Clone())
@("System Application", "Business Foundation", "Base Application", "Application") | ForEach-Object {
Update-Dependencies -App $_ -CompilationParameters ($parameters.Value.Clone())
}
#Update-Dependencies -App "System Application" -CompilationParameters ($parameters.Value.Clone())
}

if($useCompilerFolder) {
Expand Down

0 comments on commit 01733ae

Please sign in to comment.