Commit Graph

9 Commits

Author SHA1 Message Date
Richard Kuhnt
1feda7a088 [WIP] Validate manifests against JSON Schema in CI Tests (#1331)
* Add suggest and psmodule to schema.json
* Fix required fields in schema.json
* Improve url validation in schema.json
* Add validator.exe as a single file validation tool
* Add Scoop.Validator Lib for use in Manifest-Tests
* Add buildscript for Scoop.Validator and validator.exe
* Exclude .dll and packages folder from Project-Tests
* Validate manifests against JSON Schema in CI Tests
* Complete JSON Schema Validation
* Dlls shouldn't be treated as text
2017-02-17 19:00:56 +01:00
Luke Sampson
68b6e33d9e fix encoding 2016-04-19 14:42:49 +10:00
Roy Ivy III
b8c6787272 improve project "style contraints" testing
* more minor refactoring
2015-12-19 14:38:37 -06:00
Roy Ivy III
8f9695b411 improve project "style contraints" testing
* includes code refactoring/improvements and improved test descriptions
2015-12-19 11:17:57 -06:00
Roy Ivy III
bfb94972ae Merge branch 'upstream' into dev-whitespace
Conflicts:
	test/00-Project.Tests.ps1
2015-08-31 17:29:33 -07:00
Roy Ivy III
80ddbc49cb update test comments and add attribution 2015-08-28 17:42:17 -05:00
Roy Ivy III
490594ca27 add simple syntax checking for all PowerShell script/module files
* checks all .ps1 and .psm1 files in the Project repository
* NOTE: this is just simple syntax checking, but it can catch a lot of simple mistakes
2015-08-28 17:33:14 -05:00
Roy Ivy III
03b611757e comment cleanup 2015-08-26 09:19:00 -05:00
Roy Ivy III
6545f2e438 add tests to maintain whitespace style constraints
.# Discussion

These tests help to maintain five style constraints:

1. files have no utf-8 byte-order-marks (BOM)
2. all files have CRLF EOLNs (*required* for correct operation of BAT/CMD script files)
3. all files end with a newline
4. any leading whitespace consists solely of spaces
5. no trailing whitespace

By using these constraints, whitespace noise between commits is reduced to a minimum.
2015-08-25 22:07:13 -05:00