Skip to content
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

Doc bug #130

Open
Jaykul opened this issue Jun 18, 2024 · 0 comments
Open

Doc bug #130

Jaykul opened this issue Jun 18, 2024 · 0 comments
Labels

Comments

@Jaykul
Copy link
Member

Jaykul commented Jun 18, 2024

The docs say:

Create a source folder with a build.psd1 file and your module manifest in it
In the build.psd1 specify the relative Path to your module's manifest, e.g. @{ Path = "ModuleBuilder.psd1" }

But if do that, and then run Build-Module in the root, the build.psd1 is being ignored (the module builds, but without any of the settings I put in the build.psd1).

For it to work as expected, I have to either put the build.psd1 in the folder where I will run Build-Module or pass the path to the folder where I put the build.psd1 (i.e. Build-Module source)

On the other hand, I think it's reasonable to expect that it would work the way the docs say: put the build.psd1 next to the Module.psd1 -- if it can find the Module.psd1, it should find the build.psd1 as well!

@Jaykul Jaykul added 01 - bug 19 - Documentation Need to update docs labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant