about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 09:01:54 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 09:01:54 +0200
commit9ffcfb2197bd5b721d18a730afb8eadfec9d41e7 (patch)
tree10c71912d0e29d1088a93882172ff85578eda1b7
parentfix(templates/rust/update.sh): Frist `upgrade` then `update` (diff)
downloadflake-templates-9ffcfb2197bd5b721d18a730afb8eadfec9d41e7.tar.gz
flake-templates-9ffcfb2197bd5b721d18a730afb8eadfec9d41e7.zip
refactor(templates/): Move `LICENSE.spdx` and `README.md` to `common`
Diffstat (limited to '')
-rw-r--r--common/files/LICENSE.spdx7
-rw-r--r--common/files/README.md12
l---------[-rw-r--r--]templates/awk/LICENSE.spdx8
l---------[-rw-r--r--]templates/awk/README.md13
l---------[-rw-r--r--]templates/c/LICENSE.spdx8
l---------[-rw-r--r--]templates/c/README.md13
l---------[-rw-r--r--]templates/latex/LICENSE.spdx8
l---------[-rw-r--r--]templates/rust/LICENSE.spdx8
l---------[-rw-r--r--]templates/rust/README.md13
l---------[-rw-r--r--]templates/shell/LICENSE.spdx8
l---------[-rw-r--r--]templates/shell/README.md13
11 files changed, 28 insertions, 83 deletions
diff --git a/common/files/LICENSE.spdx b/common/files/LICENSE.spdx
new file mode 100644
index 0000000..2b99390
--- /dev/null
+++ b/common/files/LICENSE.spdx
@@ -0,0 +1,7 @@
+SPDXVersion: SPDX-2.3
+DataLicense: CC0-1.0
+Creator: flake template init
+PackageName: %INIT_APPLICATION_NAME
+PackageOriginator: %INIT_APPLICATION_ORIGINATOR
+PackageHomePage: %INIT_APPLICATION_HOME_PAGE
+PackageLicenseDeclared: %INIT_SPDX_LICENSE_IDENTIFIER
diff --git a/common/files/README.md b/common/files/README.md
new file mode 100644
index 0000000..46287a6
--- /dev/null
+++ b/common/files/README.md
@@ -0,0 +1,12 @@
+# %INIT_APPLICATION_NAME_STYLIZED
+
+> %INIT_DESCRIPTION
+
+Some text about the project.
+
+## Licence
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
diff --git a/templates/awk/LICENSE.spdx b/templates/awk/LICENSE.spdx
index 72ea9a5..c49b1dc 100644..120000
--- a/templates/awk/LICENSE.spdx
+++ b/templates/awk/LICENSE.spdx
@@ -1,7 +1 @@
-SPDXVersion: SPDX-2.3
-DataLicense: CC0-1.0
-Creator: flake template init
-PackageName: %INIT_APPLICATION_NAME
-PackageOriginator: %INIT_APPLICATION_ORIGINATOR
-PackageHomePage: %INIT_APPLICATION_HOME_PAGE
-PackageLicenseDeclared: GPL-3.0-or-later
+../../common/files/LICENSE.spdx
\ No newline at end of file
diff --git a/templates/awk/README.md b/templates/awk/README.md
index 46287a6..7f79e6c 100644..120000
--- a/templates/awk/README.md
+++ b/templates/awk/README.md
@@ -1,12 +1 @@
-# %INIT_APPLICATION_NAME_STYLIZED
-
-> %INIT_DESCRIPTION
-
-Some text about the project.
-
-## Licence
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+../../common/files/README.md
\ No newline at end of file
diff --git a/templates/c/LICENSE.spdx b/templates/c/LICENSE.spdx
index 72ea9a5..c49b1dc 100644..120000
--- a/templates/c/LICENSE.spdx
+++ b/templates/c/LICENSE.spdx
@@ -1,7 +1 @@
-SPDXVersion: SPDX-2.3
-DataLicense: CC0-1.0
-Creator: flake template init
-PackageName: %INIT_APPLICATION_NAME
-PackageOriginator: %INIT_APPLICATION_ORIGINATOR
-PackageHomePage: %INIT_APPLICATION_HOME_PAGE
-PackageLicenseDeclared: GPL-3.0-or-later
+../../common/files/LICENSE.spdx
\ No newline at end of file
diff --git a/templates/c/README.md b/templates/c/README.md
index 46287a6..7f79e6c 100644..120000
--- a/templates/c/README.md
+++ b/templates/c/README.md
@@ -1,12 +1 @@
-# %INIT_APPLICATION_NAME_STYLIZED
-
-> %INIT_DESCRIPTION
-
-Some text about the project.
-
-## Licence
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+../../common/files/README.md
\ No newline at end of file
diff --git a/templates/latex/LICENSE.spdx b/templates/latex/LICENSE.spdx
index 3a4f6fb..c49b1dc 100644..120000
--- a/templates/latex/LICENSE.spdx
+++ b/templates/latex/LICENSE.spdx
@@ -1,7 +1 @@
-SPDXVersion: SPDX-2.3
-DataLicense: CC0-1.0
-Creator: flake template init
-PackageName: %INIT_APPLICATION_NAME
-PackageOriginator: %INIT_APPLICATION_ORIGINATOR
-PackageHomePage: %INIT_APPLICATION_HOME_PAGE
-PackageLicenseDeclared: CC-BY-SA-4.0
+../../common/files/LICENSE.spdx
\ No newline at end of file
diff --git a/templates/rust/LICENSE.spdx b/templates/rust/LICENSE.spdx
index 72ea9a5..c49b1dc 100644..120000
--- a/templates/rust/LICENSE.spdx
+++ b/templates/rust/LICENSE.spdx
@@ -1,7 +1 @@
-SPDXVersion: SPDX-2.3
-DataLicense: CC0-1.0
-Creator: flake template init
-PackageName: %INIT_APPLICATION_NAME
-PackageOriginator: %INIT_APPLICATION_ORIGINATOR
-PackageHomePage: %INIT_APPLICATION_HOME_PAGE
-PackageLicenseDeclared: GPL-3.0-or-later
+../../common/files/LICENSE.spdx
\ No newline at end of file
diff --git a/templates/rust/README.md b/templates/rust/README.md
index 46287a6..7f79e6c 100644..120000
--- a/templates/rust/README.md
+++ b/templates/rust/README.md
@@ -1,12 +1 @@
-# %INIT_APPLICATION_NAME_STYLIZED
-
-> %INIT_DESCRIPTION
-
-Some text about the project.
-
-## Licence
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+../../common/files/README.md
\ No newline at end of file
diff --git a/templates/shell/LICENSE.spdx b/templates/shell/LICENSE.spdx
index 72ea9a5..c49b1dc 100644..120000
--- a/templates/shell/LICENSE.spdx
+++ b/templates/shell/LICENSE.spdx
@@ -1,7 +1 @@
-SPDXVersion: SPDX-2.3
-DataLicense: CC0-1.0
-Creator: flake template init
-PackageName: %INIT_APPLICATION_NAME
-PackageOriginator: %INIT_APPLICATION_ORIGINATOR
-PackageHomePage: %INIT_APPLICATION_HOME_PAGE
-PackageLicenseDeclared: GPL-3.0-or-later
+../../common/files/LICENSE.spdx
\ No newline at end of file
diff --git a/templates/shell/README.md b/templates/shell/README.md
index 46287a6..7f79e6c 100644..120000
--- a/templates/shell/README.md
+++ b/templates/shell/README.md
@@ -1,12 +1 @@
-# %INIT_APPLICATION_NAME_STYLIZED
-
-> %INIT_DESCRIPTION
-
-Some text about the project.
-
-## Licence
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+../../common/files/README.md
\ No newline at end of file