Change build script to install into a versioned directory by JamesWTruher · Pull Request #1247 · PowerShell/PSScriptAnalyzer

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

Change build script to install into a versioned directory #1247

@JamesWTruher

instead of installing into out/PSScriptAnalyzer it will be out/PSScriptAnalyzer/<version>
Also add some -force to a number of the
ew-item -type directory tests because they cause misleading screen output
tracked down one of the tests which was not setting �nv:PSModulePath back correctly

@JamesWTruher

Versioned module directories are not supported, so we need to change the name of the directory from <version> to PSScriptAnalyzer so it can be added to env:PSModulePath and work as expected

@JamesWTruher

@JamesWTruher

@JamesWTruher

@JamesWTruher

@bergmeister

@bergmeister

@JamesWTruher JamesWTruher merged commit 6c946c0 into PowerShell:development

Jun 3, 2019

2 checks passed

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded

Details

license/cla All CLA requirements met.

Details