1
0
mirror of https://github.com/cs3org/reva.git synced 2025-04-18 13:44:12 +03:00

misc: add license check

This commit is contained in:
Hugo Gonzalez Labrador 2019-04-17 11:52:33 +02:00
parent 44ea93be7d
commit 75b78df485
2 changed files with 6 additions and 0 deletions

View File

@ -25,3 +25,8 @@ lint:
contrib:
git log --pretty="%an <%ae>" | sort -n | uniq | sort -n | awk '{print "-", $$NA}' > CONTRIBUTORS.md
license:
go run github.com/mitchellh/golicense license.hcl cmd/revad/revad
go run github.com/mitchellh/golicense license.hcl cmd/revad/reva

1
license.hcl Normal file
View File

@ -0,0 +1 @@
allow = ["MIT", "Apache-2.0", "MPL-2.0", "BSD-2-Clause", "BSD-3-Clause"]