add copyright headers+enforce w/ addlicense
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-05-21 00:49:13 +02:00
parent da71170af1
commit 9d29017860
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
10 changed files with 39 additions and 0 deletions

@ -1,3 +1,6 @@
# Copyright 2022 wanderer <a_mirre at utb dot cz>
# SPDX-License-Identifier: GPL-3.0-or-later
# vim: ft=bzl.starlark noexpandtab tw=4 ts=4
def main(ctx):
return [

@ -1,3 +1,6 @@
# Copyright 2022 wanderer <a_mirre at utb dot cz>
# SPDX-License-Identifier: GPL-3.0-or-later
---
fail_fast: false
repos:
@ -28,6 +31,15 @@ repos:
pass_filenames: false
files: "flake.nix"
language: system
- id: addlicense
require_serial: false
name: addlicence -check
entry: >
go run github.com/google/addlicense@v1.0.0 -check -v
pass_filenames: true
types_or: ["go", "yaml"]
exclude: "^.drone.*"
language: system
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
hooks:

@ -1,3 +1,6 @@
// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package cmd
import (

@ -1,3 +1,6 @@
// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package cmd
import (

@ -1,3 +1,6 @@
// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package cmd
import (

@ -1,3 +1,6 @@
// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package cmd
import (

@ -1,3 +1,6 @@
// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package main
import (

@ -1,3 +1,6 @@
// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package main
import (

@ -1,3 +1,6 @@
// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package xkcdreader
import (

@ -1,3 +1,6 @@
// Copyright 2022 wanderer <a_mirre at utb dot cz>
// SPDX-License-Identifier: GPL-3.0-or-later
package xkcdreader
import (