-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RequiredModulesDirectory Override Parameter in build.ps1 not working #176
Comments
that parameter changes where it looks for them. The RequiredModules.psd1 defines where to save them. |
Ok thanks...I guess I don't see the point of the -RequiredModulesDirectory parameter then. |
I tried your suggestion and changed the path for the output in RequiredModules.psd1. Everything seems to work until the build tries to compress the modules:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
When trying to use the RequiredModulesDirectory parameter to override the default location of the RequireModules folder (output/RequiredModules) the path passed in never gets populated with the RequiredModule files, they continue to land in output/RequiredModules.
Verbose logs
How to reproduce
Launch the build as follows:
.\build.ps1 -ResolveDependency -RequiredModulesDirectory RequiredModules
Expected behavior
RequiredModules files should end up in ./RequiredModules.
Current behavior
RequiredModules files currently end up in the default location of./output/RequiredModules.
Suggested solution
Add Target parameter to the Invoke-PSDepend call as follows:
Operating system the target node is running
PowerShell version and build the target node is running
Module version used
The text was updated successfully, but these errors were encountered: