From 6d7a2bd4f8687140da63a37c63db1d4685026c79 Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Thu, 13 Jun 2024 18:37:47 +1000 Subject: [PATCH] Fix paths to license files --- template/LICENSE.jinja | 13 +++++++++++++ template/{src => }/licenses/Apache-2.jinja | 0 template/{src => }/licenses/BSD-3.jinja | 0 template/{src => }/licenses/GPL-3.jinja | 0 template/{src => }/licenses/LGPL-3.jinja | 0 template/{src => }/licenses/MIT.jinja | 0 template/src/LICENSE.jinja | 13 ------------- 7 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 template/LICENSE.jinja rename template/{src => }/licenses/Apache-2.jinja (100%) rename template/{src => }/licenses/BSD-3.jinja (100%) rename template/{src => }/licenses/GPL-3.jinja (100%) rename template/{src => }/licenses/LGPL-3.jinja (100%) rename template/{src => }/licenses/MIT.jinja (100%) delete mode 100644 template/src/LICENSE.jinja diff --git a/template/LICENSE.jinja b/template/LICENSE.jinja new file mode 100644 index 0000000..aae6224 --- /dev/null +++ b/template/LICENSE.jinja @@ -0,0 +1,13 @@ +{%- if license == "MIT" -%} +{%- include 'template/licenses/MIT.jinja' %} +{%- elif license == "BSD-3" -%} +{%- include 'template/licenses/BSD-3.jinja' %} +{%- elif license == "GNU GPL v3.0" -%} +{%- include 'template/licenses/GPL-3.jinja' %} +{%- elif license == "GNU LGPL v3.0" -%} +{%- include 'template/licenses/LGPL-3.jinja' %} +{%- elif license == "Apache Software License 2.0" -%} +{%- include 'template/licenses/Apache-2.jinja' %} +{%- elif license == "Mozilla Public License 2.0" -%} +{%- include 'template/licenses/MPL-2.jinja' %} +{%- endif -%} diff --git a/template/src/licenses/Apache-2.jinja b/template/licenses/Apache-2.jinja similarity index 100% rename from template/src/licenses/Apache-2.jinja rename to template/licenses/Apache-2.jinja diff --git a/template/src/licenses/BSD-3.jinja b/template/licenses/BSD-3.jinja similarity index 100% rename from template/src/licenses/BSD-3.jinja rename to template/licenses/BSD-3.jinja diff --git a/template/src/licenses/GPL-3.jinja b/template/licenses/GPL-3.jinja similarity index 100% rename from template/src/licenses/GPL-3.jinja rename to template/licenses/GPL-3.jinja diff --git a/template/src/licenses/LGPL-3.jinja b/template/licenses/LGPL-3.jinja similarity index 100% rename from template/src/licenses/LGPL-3.jinja rename to template/licenses/LGPL-3.jinja diff --git a/template/src/licenses/MIT.jinja b/template/licenses/MIT.jinja similarity index 100% rename from template/src/licenses/MIT.jinja rename to template/licenses/MIT.jinja diff --git a/template/src/LICENSE.jinja b/template/src/LICENSE.jinja deleted file mode 100644 index 8aa79e2..0000000 --- a/template/src/LICENSE.jinja +++ /dev/null @@ -1,13 +0,0 @@ -{%- if license == "MIT" -%} -{%- include 'licenses/MIT' %} -{%- elif license == "BSD-3" -%} -{%- include 'licenses/BSD-3' %} -{%- elif license == "GNU GPL v3.0" -%} -{%- include 'licenses/GPL-3' %} -{%- elif license == "GNU LGPL v3.0" -%} -{%- include 'licenses/LGPL-3' %} -{%- elif license == "Apache Software License 2.0" -%} -{%- include 'licenses/Apache-2' %} -{%- elif license == "Mozilla Public License 2.0" -%} -{%- include 'licenses/MPL-2' %} -{%- endif -%}