Skip to content

Commit

Permalink
Add library attribute conversion when deploying source
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidWLoupe committed Jul 29, 2024
1 parent ff74544 commit 2e0287c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/LPM.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,11 @@ def deployPackages(config, packages):
if packageType in ['library']:
libraryLocation = os.path.join('Libraries', 'Loupe')
libraryAttributes = getLibraryAttributes(packageManifest, config)

# Special case logic: convert AdditionalLibraryDirectories attribute path from logical to actual
if "AdditionalLibraryDirectories" in libraryAttributes:
libraryAttributes["AdditionalLibraryDirectories"] = ASTools.getActualPathFromLogicalPath(libraryAttributes["AdditionalLibraryDirectories"])

# Deploy the required library.
deploymentTable.deployLibrary(os.path.join('Logical', libraryLocation), os.path.split(package)[1], libraryAttributes)
elif packageType in ['program', 'package']:
Expand Down

0 comments on commit 2e0287c

Please sign in to comment.