syncthing/meta
Jakob Borg 200a7fc844 meta: Move metadata checks into meta directory, make them tests
This moves a few things from script/ to a new directory meta/, and makes
them real Go tests. These are the authors, copyright, metalint and gofmt
checks. That means that they can now be run by

go test -v ./meta

and optionally filtered by the usual -run thing to go test. Also -short
will cut down on the metalint stuff and exclude the authors check (which
is slow because it runs git lots of times).

Mainly this makes everything easier on things like build servers where
we can now just run tests instead of do a bunch of scripting.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4252
2017-07-07 20:43:26 +00:00
..
authors_test.go meta: Move metadata checks into meta directory, make them tests 2017-07-07 20:43:26 +00:00
copyright_test.go meta: Move metadata checks into meta directory, make them tests 2017-07-07 20:43:26 +00:00
gofmt_test.go meta: Move metadata checks into meta directory, make them tests 2017-07-07 20:43:26 +00:00
metalint_test.go meta: Move metadata checks into meta directory, make them tests 2017-07-07 20:43:26 +00:00
README.txt meta: Move metadata checks into meta directory, make them tests 2017-07-07 20:43:26 +00:00

The files in this directory contain metadata tests - that is, tests on the
shape and colour of the code in the rest of the repository. This code is not
compiled into the final product.