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 # vim: ft=bzl.starlark noexpandtab tw=4 ts=4
def main(ctx): def main(ctx):
return [ 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 fail_fast: false
repos: repos:
@ -28,6 +31,15 @@ repos:
pass_filenames: false pass_filenames: false
files: "flake.nix" files: "flake.nix"
language: system 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 - repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0 rev: v0.5.0
hooks: hooks:

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

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

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

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

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

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

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

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