-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Create separate folder per module containing scripts to be executed on import #5016
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
Create separate folder per module containing scripts to be executed on import #5016
Conversation
|
@maddieclayton a few modules currently have
These modules have a class that implements |
| <SubType>Designer</SubType> | ||
| </EmbeddedResource> | ||
| </ItemGroup> | ||
| <ItemGroup /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the extra ItemGroup
| <SubType>Designer</SubType> | ||
| </None> | ||
| <None Include="StartupScripts\*.ps1"> | ||
| <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mor module that don't yet have this, I would comment this out so we don't have an unnecessary dot-include in the psm1.
|
@azuresdkci test this please |
|
@maddieclayton you'll need to regenerate the |
|
on demand run here:https://azuresdkci.westus2.cloudapp.azure.com/view/PowerShell/job/powershell-demand/234/ @maddieclayton Need to verify a sample of aliases from each module before merging |
|
@markcowl can you take a quick look? I've changed a fair amount since you've approved. On demand passed and sign job is working (I check the aliases for each module with a startup script). |
Description
#4855
This checklist is used to make sure that common guidelines for a pull request are followed. You can find a more complete discussion of PowerShell cmdlet best practices here.
General Guidelines
Testing Guidelines
Cmdlet Signature Guidelines
ShouldProcessand haveSupportShouldProcess=truespecified in the cmdlet attribute. You can find more information onShouldProcesshere.OutputTypeattribute if any output is produced - if the cmdlet produces no output, it should implement aPassThruparameter.Cmdlet Parameter Guidelines