aboutsummaryrefslogtreecommitdiff
path: root/internal/cmd/memfs/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cmd/memfs/main.go')
-rw-r--r--internal/cmd/memfs/main.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/cmd/memfs/main.go b/internal/cmd/memfs/main.go
index 341fd98..fe69c78 100644
--- a/internal/cmd/memfs/main.go
+++ b/internal/cmd/memfs/main.go
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
package main
import (
@@ -18,6 +22,11 @@ func embedDatabase() {
PackageName: `haminer`,
VarName: `memfsDatabase`,
GoFileName: `memfs_database.go`,
+ CommentHeader: `// SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+`,
},
Root: `_database`,
Includes: []string{
@@ -47,6 +56,11 @@ func embedWui() {
PackageName: `haminer`,
VarName: `memfsWUI`,
GoFileName: `memfs_wui.go`,
+ CommentHeader: `// SPDX-FileCopyrightText: 2024 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+`,
},
Root: `_wui`,
Includes: []string{