8000 build: unbundle pester by TravisEz13 · Pull Request #5623 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@TravisEz13
Copy link
Member

fixes #5458

  • remove pester submodule
  • add a -CI switch to start-PSBuild
  • only add pester if -CI is specified and -PSModuleRestore

Copy link
Member
@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left some comments

.travis.yml Outdated
# spellcheck
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
mdspell '**/*.md' '!powershell/**/*.md' --ignore-numbers --ignore-acronyms --report;
mdspell '**/*.md' '!powershell/**/*.md' '!**/publish/**/*.md' --ignore-numbers --ignore-acronyms --report;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can '!powershell/**/*.md' maybe be removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what it was for.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it and it appears to not be needed. I added a comment to why my exclusion is there.

build.psm1 Outdated
$null = Start-NativeExecution {git clone --quiet $uri $clonePath}
Push-location
try {
Set-Location $clonePath
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: maybe use push-location $clonePath to combine push-location and set-location $clonePath

{
pop-location
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: fix the indentation

Copy link
Collaborator
@JamesWTruher JamesWTruher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adityapatwardhan adityapatwardhan merged commit 25617f1 into PowerShell:master Dec 5, 2017
@TravisEz13 TravisEz13 deleted the unbundle_pester branch December 5, 2017 01:46
@iSazonov
Copy link
Collaborator
iSazonov commented Dec 5, 2017

Should we change our contribution docs too?

@TravisEz13
Copy link
Member Author

Please feel free to file an issue

@TravisEz13 TravisEz13 added this to the 6.0.0-RC.2 milestone Dec 6, 2017
TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull request Dec 6, 2017
* remove pester module

* restore Pester as a module only in CI build from the git repo

* mark appveyor builds as CI builds

* remove pester exclusions

* mark travis builds as ci

* exclude publish folder from spell check

* do not run spell check on publish folder

# Conflicts:
#	tools/appveyor.psm1
#	tools/travis.ps1
TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull request Dec 6, 2017
# Conflicts:
#	tools/appveyor.psm1
#	tools/travis.ps1
TravisEz13 added a commit that referenced this pull request Dec 7, 2017
# Conflicts:
#	tools/appveyor.psm1
#	tools/travis.ps1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unbundle Pester from PSCore pkg

5 participants

0