PowerShell/.vsts-ci
Bram Crielaard 7031954669 Make install scripts more consistent over different operating systems (#9071)
I noticed a couple of inconsistencies when reading through the install bash scripts. 

- Make documentation for switches consistent over all files.
- Replace all `sed` implementations of `lowercase` with a more maintainable `tr` implementation.
- Set the `OS` variable in every install script, making it so previously unused checks are actually used.
- Exit with a non-zero exit code when the script reaches an illegal state.


## PR Context

A lot of people, including myself, read the install scripts before executing them. While doing so I noticed they contained inconsistencies. For example, certain flags you can pass to the install script were either undocumented or had an incorrect description. This PR fixes some of these inconsistencies, which should make them easier to maintain and easier to read.

Co-authored-by: Travis Plunk <github@ez13.net>
2019-03-08 13:00:04 -08:00
..
templates Make install scripts more consistent over different operating systems (#9071) 2019-03-08 13:00:04 -08:00
install-ps.yml Make install scripts more consistent over different operating systems (#9071) 2019-03-08 13:00:04 -08:00
linux.yml Refactor travis.ps1 into ci.psm1 (#8822) 2019-02-08 14:37:36 -08:00
mac.yml Refactor travis.ps1 into ci.psm1 (#8822) 2019-02-08 14:37:36 -08:00
misc-analysis.yml Remove directory causing static analysis failure (#8812) 2019-02-01 18:03:12 -08:00
windows.yml Make xUnit tests run sequentially to avoid race conditions caused by manipulating 'powershell.config.json' in tests (#8945) 2019-02-22 11:57:10 -08:00