Skip to content

Commit

Permalink
add license
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Bortnikov <[email protected]>
  • Loading branch information
aobort committed Dec 5, 2024
1 parent de676ee commit b02ff6e
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Files:
mkdocs.yml
go.sum
hack/*
api/gen/*
api/proto/buf.yaml
buf.gen.yaml
Copyright: 2024 SAP SE or an SAP affiliate company and IronCore contributors
License: Apache-2.0

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,12 @@ cleandocs: ## Remove all local mkdocs Docker images (cleanup).
.PHONY: add-license
add-license: addlicense ## Add license headers to all go files.
find . -name '*.go' -exec $(ADDLICENSE) -f hack/license-header.txt {} +
find . -name '*.proto' -exec $(ADDLICENSE) -f hack/license-header.txt {} +

.PHONY: check-license
check-license: addlicense ## Check that every file has a license header present.
find . -name '*.go' -exec $(ADDLICENSE) -check -c 'IronCore authors' {} +
find . -name '*.proto' -exec $(ADDLICENSE) -check -c 'IronCore authors' {} +

.PHONY: check
check: generate manifests add-license fmt lint test # Generate manifests, code, lint, add licenses, test
Expand Down
3 changes: 3 additions & 0 deletions api/proto/common/v1alpha1/api.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";

package v1alpha1;
Expand Down
3 changes: 3 additions & 0 deletions api/proto/serverbios/v1alpha1/api.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

syntax = "proto3";

package v1alpha1;
Expand Down
3 changes: 3 additions & 0 deletions cmd/fmiserver/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions fmi/client_grpc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

package fmi

import (
Expand Down
3 changes: 3 additions & 0 deletions fmi/client_http.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

package fmi

import (
Expand Down
3 changes: 3 additions & 0 deletions fmi/fmi.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

package fmi

import (
Expand Down
3 changes: 3 additions & 0 deletions fmi/runner_default.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

package fmi

import (
Expand Down
3 changes: 3 additions & 0 deletions fmi/runner_fake.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

package fmi

import (
Expand Down
3 changes: 3 additions & 0 deletions fmi/server_grpc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

package fmi

import (
Expand Down
3 changes: 3 additions & 0 deletions fmi/server_http.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and IronCore contributors
// SPDX-License-Identifier: Apache-2.0

package fmi

import (
Expand Down

0 comments on commit b02ff6e

Please sign in to comment.