forked from microsoft/AL-Go
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix project dependencies (microsoft#581)
_**Problem**_: Due the way app folders (`appFolders`, `testFolders` etc.) are resolved, when using wild characters for specifying the app folders, the project dependencies are not determined correctly. Example: https://github.com/microsoft/ALAppExtensions/blob/builds/22.3.998.0/System%20Application%20Modules/.AL-Go/settings.json ``` { "appFolders": [ "..\\Modules\\System\\*" ], "testFolders": [ "..\\Modules\\System Test Libraries\\*", "..\\Modules\\System Tests\\*" ], "enableAppSourceCop": false, "enablePerTenantExtensionCop": false, "doNotBuildTests": true } ``` https://github.com/microsoft/ALAppExtensions/actions/runs/5346147623/jobs/9692747522#step:6:200 > - Analyzing project: System Application Modules Applying settings from D:\a\ALAppExtensions\ALAppExtensions\.github\AL-Go-Settings.json Applying settings from D:\a\ALAppExtensions\ALAppExtensions\System Application Modules\.AL-Go\settings.json Warning: Folder ..\Modules\System\* doesn't exist, skipping. Warning: Folder ..\Modules\System Test Libraries\* doesn't exist, skipping. Warning: Folder ..\Modules\System Tests\* doesn't exist, skipping. No apps or tests folders found for project System Application Modules. Scanning for apps in the project folder. That way there is a missing dependency from "System Application Modules" to "Test Framework": > ProjectDependenciesJson={"System Application":["Test Framework"],"System Application Modules":[],"Test Framework":[],"Test Stability Tools":[]} _**Solution**_: Unify the way app folders are resolved and add tests to that functionality. --------- Co-authored-by: Freddy Kristiansen <[email protected]>
- Loading branch information
Showing
2 changed files
with
322 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.