chocolatey / package-validator

Windows service to validate packages conform to package standards
Apache License 2.0
31 stars 29 forks source link

Requirement: Use Get-BinRoot or Get-ToolsLocation, never the environment variables directly #140

Open ferventcoder opened 8 years ago

ferventcoder commented 8 years ago

This will ensure folks do the right thing when packaging.

gep13 commented 8 years ago

@ferventcoder So fail validation on direct usage of:

Any others?

ferventcoder commented 8 years ago

None that I can think of - using $env:ChocolateyInstall is actually recommended.

AdmiringWorm commented 7 years ago

Perhaps also $env:ChocolateyPackageFolder? Don't really know if that one should fail, but thought I should mention it nonetheless!