8a516e9e064619dcb3d84499b66e1562546be918 — Sam Whited 11 months ago 1c0ce60
.builds: validate license headers

Validate that all files have the correct license header so that it
doesn't accidentally get left off of new files or get broken by a stray
Vim shortcut and then not noticed until after it has been merged.

Fixes #40

Signed-off-by: Sam Whited <sam@samwhited.com>
1 files changed, 7 insertions(+), 1 deletions(-)

M .builds/ci.yml
M .builds/ci.yml => .builds/ci.yml +7 -1
@@ 31,7 31,13 @@ tasks:

      golint -set_exit_status ./...
      gosec ./...
      checkdoc ./...

      checkdoc -fileheader.pattern='-' ./... <<EOF
      Copyright \d\d\d\d The Mellium Contributors\.
      Use of this source code is governed by the BSD 2-clause
      license that can be found in the LICENSE file\.

      checkmd .
  - validate: |
      cd xmpp/