diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a22a2da --- /dev/null +++ b/LICENSE @@ -0,0 +1 @@ +MIT diff --git a/addons/goutte.template.inja/inja.gdextension b/addons/goutte.template.inja/inja.gdextension index b0f7d67..40c6774 100644 --- a/addons/goutte.template.inja/inja.gdextension +++ b/addons/goutte.template.inja/inja.gdextension @@ -4,16 +4,17 @@ entry_symbol = "initialize_ginja_extension" [libraries] -linux.debug.x86_64 = "bin/libgdinja.linux.debug.x86_64.so" -linux.release.x86_64 = "bin/libgdinja.linux.release.x86_64.so" linux.debug.x86_32 = "bin/libgdinja.linux.debug.x86_32.so" +linux.debug.x86_64 = "bin/libgdinja.linux.debug.x86_64.so" linux.release.x86_32 = "bin/libgdinja.linux.release.x86_32.so" +linux.release.x86_64 = "bin/libgdinja.linux.release.x86_64.so" -windows.debug.x86_64 = "bin/libgdinja.windows.debug.x86_64.dll" -windows.release.x86_64 = "bin/libgdinja.windows.release.x86_64.dll" windows.debug.x86_32 = "bin/libgdinja.windows.debug.x86_32.dll" +windows.debug.x86_64 = "bin/libgdinja.windows.debug.x86_64.dll" windows.release.x86_32 = "bin/libgdinja.windows.release.x86_32.dll" +windows.release.x86_64 = "bin/libgdinja.windows.release.x86_64.dll" +# Mac does not have 32bits support in godot-cpp macos.debug = "bin/libgdinja.osx.debug.x86_64.framework" macos.release = "bin/libgdinja.osx.release.x86_64.framework" diff --git a/addons/goutte.template.inja/plugin.cfg b/addons/goutte.template.inja/plugin.cfg new file mode 100644 index 0000000..37e16e5 --- /dev/null +++ b/addons/goutte.template.inja/plugin.cfg @@ -0,0 +1,7 @@ +[plugin] + +name="Ginja String Templating" +description="Ginja is a bridge for the Inja templating engine, loosely inspired by jinja for python. It has an easy and yet powerful template syntax with all variables, loops, conditions, includes, functions, and comments you need, nested and combined as you like. This plugin is a GdExtension, so it comes with some limitations. See the repository for more information: https://github.com/Goutte/godot-addon-ginja/" +author="Goutte" +version="1.0" +script="plugin.gd" diff --git a/addons/goutte.template.inja/plugin.cfg.old b/addons/goutte.template.inja/plugin.cfg.old deleted file mode 100644 index fcb6128..0000000 --- a/addons/goutte.template.inja/plugin.cfg.old +++ /dev/null @@ -1,7 +0,0 @@ -[plugin] - -name="InjaTemplate" -description="Ginja is a bridge for the Inja templating engine, loosely inspired by jinja for python. It has an easy and yet powerful template syntax with all variables, loops, conditions, includes, callbacks, and comments you need, nested and combined as you like." -author="Goutte" -version="1.0" -script="plugin.gd" diff --git a/addons/goutte.template.inja/plugin.gd b/addons/goutte.template.inja/plugin.gd new file mode 100644 index 0000000..789f712 --- /dev/null +++ b/addons/goutte.template.inja/plugin.gd @@ -0,0 +1,12 @@ +tool +extends EditorPlugin + +# The GdExtension is automatically loaded, +# and it makes the Ginja object available already. +# Perhaps we'll add some sugar nodes here later? + +func _enter_tree(): + pass + +func _exit_tree(): + pass