From 287eeaf0d0df7e1c0792ef68e84685807f7f7d0b Mon Sep 17 00:00:00 2001 From: Ronmi Ren Date: Wed, 8 Jan 2025 04:02:17 +0800 Subject: [PATCH] add license to source codes --- .forgejo/workflows/build-docker.yml | 5 +++++ Dockerfile | 4 ++++ cmd/root.go | 7 ++++--- cmd/serve.go | 7 ++++--- lib/web.go | 4 ++++ main.go | 6 +++--- 6 files changed, 24 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/build-docker.yml b/.forgejo/workflows/build-docker.yml index 7160b13..590f9f4 100644 --- a/.forgejo/workflows/build-docker.yml +++ b/.forgejo/workflows/build-docker.yml @@ -1,3 +1,8 @@ + +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. + on: push: diff --git a/Dockerfile b/Dockerfile index c0cea97..dbb9889 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. + FROM ronmi/mingo ADD forgejo-pages /usr/bin/forgejo-pages ENTRYPOINT ["/usr/bin/forgejo-pages"] diff --git a/cmd/root.go b/cmd/root.go index 7480b33..0242163 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,6 +1,7 @@ -/* -Copyright © 2025 Ronmi Ren