Skip to content
Snippets Groups Projects
Verified Commit fa3465e6 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore add licenses

parent 10dffc0f
No related branches found
No related tags found
No related merge requests found
...@@ -141,5 +141,17 @@ endif ...@@ -141,5 +141,17 @@ endif
fetch-licenses: fetch-licenses:
go-licenses save $(GO_CURRENT_MODULE) --ignore gitlab.schukai.com --force --save_path $(PROJECT_ROOT)licenses/ ; cd - go-licenses save $(GO_CURRENT_MODULE) --ignore gitlab.schukai.com --force --save_path $(PROJECT_ROOT)licenses/ ; cd -
# https://spdx.github.io/spdx-spec/v2.3/SPDX-license-list/
ADDLICENSE_BIN ?= addlicense
ifeq ($(shell command -v $(ADDLICENSE_BIN) 2> /dev/null),)
$(shell go install github.com/google/addlicense@latest)
EXECUTABLES = $(EXECUTABLES:-) $(ADDLICENSE_BIN);
endif
.PHONY: add-licenses
## Add license headers to all go files
add-licenses:
addlicense -c "schukai GmbH" -s -l "AGPL-3.0-or-later" ./*.go
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
// This package provides a simple way to create a CLI application // This package provides a simple way to create a CLI application
// with subcommands. It is based on the flags package from // with subcommands. It is based on the flags package from
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
// Copyright 2022 schukai GmbH. All rights reserved. // Copyright 2022 schukai GmbH
// Use of this source code is governed by a AGPL-3.0 // SPDX-License-Identifier: AGPL-3.0-or-later
// license that can be found in the LICENSE file.
package xflags package xflags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment