5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-15 08:29:29 +08:00
wails/v3/internal/templates/_common
Travis McLane b8d780ba4a
Feature/template consolidation (#3046)
* remove 'test' project

* dynamic template list generation

- uses a single fs.Embed to contain all templates
- walks and rebuilds the list of TemplateData using the cached data
- pulls the `description` out of the required `template.json` file in
  the template directory

* [v3] template handling update

- move "common" template files to a _common directory
- update generator to render from _common/* first
- render selected template last to overwrite anything provided by
  _common if needed
- remove duplicate files from all templates that do not change

* cleanup template project directory after test

* add linux to _common/Taskfile.yaml

* noop: whitespace cleanup _common/Taskfile.yaml
2023-11-11 12:26:28 +11:00
..
build Feature/template consolidation (#3046) 2023-11-11 12:26:28 +11:00
go.mod.tmpl Feature/template consolidation (#3046) 2023-11-11 12:26:28 +11:00
go.sum.tmpl Feature/template consolidation (#3046) 2023-11-11 12:26:28 +11:00
main.go.tmpl Feature/template consolidation (#3046) 2023-11-11 12:26:28 +11:00
Taskfile.tmpl.yml Feature/template consolidation (#3046) 2023-11-11 12:26:28 +11:00