From 4ca021262952689d9ad91f44618479907bac5b7b Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw)" <3293172751nss@gmail.com> Date: Thu, 11 May 2023 16:02:19 +0800 Subject: [PATCH] feat: Improve copyright information Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com> --- script/make-rules/gen.mk | 19 +++++++++++++++++++ script/make-rules/golang.mk | 17 +++++++++++++++++ script/make-rules/image.mk | 21 +++++++++++++++++++++ 3 files changed, 57 insertions(+) diff --git a/script/make-rules/gen.mk b/script/make-rules/gen.mk index e69de29bb..61489373b 100644 --- a/script/make-rules/gen.mk +++ b/script/make-rules/gen.mk @@ -0,0 +1,19 @@ +# Copyright © 2023 OpenIMSDK. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# ============================================================================== +# Makefile helper functions for generate necessary files and docs +# https://cloud.redhat.com/blog/kubernetes-deep-dive-code-generation-customresources +# ! The stock of code generated by `make gen` should be idempotent +# \ No newline at end of file diff --git a/script/make-rules/golang.mk b/script/make-rules/golang.mk index e69de29bb..d140e86f8 100644 --- a/script/make-rules/golang.mk +++ b/script/make-rules/golang.mk @@ -0,0 +1,17 @@ +# Copyright © 2023 OpenIMSDK. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# ============================================================================== +# Build management helpers. These functions help to set, save and load the +# \ No newline at end of file diff --git a/script/make-rules/image.mk b/script/make-rules/image.mk index e69de29bb..0eb46137e 100644 --- a/script/make-rules/image.mk +++ b/script/make-rules/image.mk @@ -0,0 +1,21 @@ +# Copyright © 2023 OpenIMSDK. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# ============================================================================== +# Makefile helper functions for docker image +# TODO: For the time being only used for compilation, it can be arm or amd, please do not delete it, it can be extended with new functions +# ============================================================================== +# Path: scripts/make-rules/image.mk +# docker registry: registry.example.com/namespace/image:tag as: registry.hub.docker.com/cubxxw/: +# \ No newline at end of file