Skip to content

Commit

Permalink
Fix ctt errors
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed May 28, 2024
1 parent 60d93b3 commit bf9c6d3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 26 deletions.
42 changes: 20 additions & 22 deletions copier.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
# Copier settings

_answers_file: .copier-answers.hexdummy.yml

_exclude:
# for copier-template-tester
- ".ctt"
- "ctt.toml"
# defaults (https://copier.readthedocs.io/en/latest/configuring/#exclude)
- "copier.yaml"
- "copier.yml"
- "~*"
- "*.py[co]"
- "__pycache__"
- ".git"
- ".DS_Store"
- ".svn"

# questions

advanced:
Expand Down Expand Up @@ -117,10 +99,6 @@ minecraft_version:
- "1.19.2"
- "1.20.1"

---
!include "prompts/{{ minecraft_version }}.yml"
---

# static/computed values

kotlin_plugin:
Expand Down Expand Up @@ -151,3 +129,23 @@ book_id_path:
gradle_mod_version_key:
when: false
default: modVersion

# Copier settings

_subdirectory: "templates/{{ minecraft_version }}"

_answers_file: .copier-answers.hexdummy.yml

_exclude:
# for copier-template-tester
- ".ctt"
- "ctt.toml"
# defaults (https://copier.readthedocs.io/en/latest/configuring/#exclude)
- "copier.yaml"
- "copier.yml"
- "~*"
- "*.py[co]"
- "__pycache__"
- ".git"
- ".DS_Store"
- ".svn"
1 change: 0 additions & 1 deletion prompts/1.19.2.yml

This file was deleted.

1 change: 0 additions & 1 deletion prompts/1.20.1.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% from "macros/mappings.jinja" import is_yarn, is_mojmap with context -%}
{% from "macros/mappings.jinja" import mappings with context -%}

// A convention plugin that should be applied to all Minecraft-related subprojects, including {{ common_path }}.

Expand Down
2 changes: 1 addition & 1 deletion templates/1.20.1/gradle/libs.versions.toml.jinja
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% from "macros/mappings.jinja" import is_yarn, is_mojmap with context -%}
{% from "macros/mappings.jinja" import mappings with context -%}

# This file is a version catalog - a central place where you can declare all of your dependencies and their versions.
# In your build scripts, you can reference it with the `libs` accessor. For example: `libs.hexcasting.fabric`
Expand Down

0 comments on commit bf9c6d3

Please sign in to comment.