tree: 4244b030531099f296e48f5a1b451ecd1e8191ff
  1. test/
  2. .gitignore
  3. Makefile
  4. README.md
  5. spacey.go
  6. spacey_test.go
go/src/infra/tricium/functions/spacey/README.md

Spacey

Tricium analyzer checking for spacing issues.

Issues detected:

  • TabSpaceMix: A Mix of tabs and spaces.
  • TrailingSpace: Trailing spaces on a line.

Consumes Tricium FILES and producs Tricium RESULTS comments.

Development and Testing

Local testing:

$ go build
$ ./spacey --input=test --output=out

Deployment

Deploy a new version of the analyzer using CIPD:

$ go build
$ cipd create -pkg-def=cipd.yaml
<outputs the VERSION>
$ cipd set-ref infra/tricium/function/spacey -ref live -version VERSION