Skip to content

build: unbundle pester - #5623

Merged
Aditya Patwardhan (adityapatwardhan) merged 9 commits into
PowerShell:masterfrom
TravisEz13:unbundle_pester
Dec 5, 2017
Merged

Aditya Patwardhan (adityapatwardhan) merged 9 commits into
PowerShell:masterfrom
TravisEz13:unbundle_pester

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

fixes #5458

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

@daxian-dbw Dongbo Wang (daxian-dbw) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Left some comments

Comment thread .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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

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

Copy link
Copy Markdown
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

Comment thread build.psm1
{
pop-location
}
}

Copy link
Copy Markdown
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
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 25617f1 into PowerShell:master Dec 5, 2017
@TravisEz13
Travis Plunk (TravisEz13) deleted the unbundle_pester branch December 5, 2017 01:46
@iSazonov

Copy link
Copy Markdown
Collaborator

Should we change our contribution docs too?

@TravisEz13

Copy link
Copy Markdown
Member Author

Please feel free to file an issue

@TravisEz13 Travis Plunk (TravisEz13) added this to the 6.0.0-RC.2 milestone Dec 6, 2017
Travis Plunk (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
Travis Plunk (TravisEz13) added a commit to TravisEz13/PowerShell that referenced this pull request Dec 6, 2017
# Conflicts:
#	tools/appveyor.psm1
#	tools/travis.ps1
Travis Plunk (TravisEz13) added a commit that referenced this pull request Dec 7, 2017
# Conflicts:
#	tools/appveyor.psm1
#	tools/travis.ps1
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
* 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
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
# 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