Skip to content

Commit

Permalink
Test manually adding dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstrup1 committed Jan 6, 2025
1 parent 8b80615 commit 92b5033
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Actions/AL-Go-Helper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2124,6 +2124,14 @@ Function AnalyzeProjectDependencies {
if ($projectSettings.useProjectDependencies -eq $true) {
$dependenciesForProject = @($unknownDependencies | ForEach-Object { $_.Split(':')[0] })
}

# Check if the project has manually defined a dependency list in the settings file, if so, add them to the list of dependencies
if ($projectSettings.projectDependencies) {
$dependenciesForProject += $projectSettings.projectDependencies
}

# Print all dependencies for the project
Write-Host "Project $project has the following dependencies: $($dependenciesForProject -join ',')"

$appDependencies."$project" = @{
"apps" = $apps
Expand Down

0 comments on commit 92b5033

Please sign in to comment.