add license to source codes

This commit is contained in:
Ronmi Ren 2025-01-08 04:02:17 +08:00
commit 287eeaf0d0
6 changed files with 24 additions and 9 deletions

View file

@ -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: on:
push: push:

View file

@ -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 FROM ronmi/mingo
ADD forgejo-pages /usr/bin/forgejo-pages ADD forgejo-pages /usr/bin/forgejo-pages
ENTRYPOINT ["/usr/bin/forgejo-pages"] ENTRYPOINT ["/usr/bin/forgejo-pages"]

View file

@ -1,6 +1,7 @@
/* // This Source Code Form is subject to the terms of the Mozilla Public
Copyright © 2025 Ronmi Ren <ronmi.ren@gmail.com // 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/.
package cmd package cmd
import ( import (

View file

@ -1,6 +1,7 @@
/* // This Source Code Form is subject to the terms of the Mozilla Public
Copyright © 2025 Ronmi Ren <ronmi.ren@gmail.com // 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/.
package cmd package cmd
import ( import (

View file

@ -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/.
package lib package lib
import ( import (

View file

@ -1,7 +1,7 @@
/* // This Source Code Form is subject to the terms of the Mozilla Public
Copyright © 2025 Ronmi Ren <ronmi.ren@gmail.com // 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/.
*/
package main package main
import "git.ronmi.tw/ronmi/forgejo-pages/cmd" import "git.ronmi.tw/ronmi/forgejo-pages/cmd"