Skip to content

Commit

Permalink
Remove old template generation files
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Jan 10, 2025
1 parent 0e239c9 commit 77b8b89
Show file tree
Hide file tree
Showing 26 changed files with 0 additions and 657 deletions.
69 changes: 0 additions & 69 deletions v3/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,6 @@ tasks:
- go install
- echo "Installed wails CLI"

generate:template:
dir: internal/templates/{{.TEMPLATE}}
deps:
- task: recreate-template-dir
vars:
TEMPLATE_DIR: "{{.TEMPLATE}}"
silent: true
cmds:
- cmd: pnpm create vite frontend --template {{.TEMPLATE}}
- cmd: cp -rf ../_base/{{.TEMPLATE}}/* .
ignore_error: true
- cmd: cp -rf ../_base/default/* .
ignore_error: true
- cmd: rm frontend/public/vite.svg
- cmd: go run ../../../tasks/sed/sed.go replace -dir frontend -old Vite -new Wails -ext .ts,.js,.html -ignore vite.config.js,vite.config.ts,vite-env.d.ts
- cmd: go run ../../../tasks/sed/sed.go replace -dir frontend -old vite -new wails -ext .ts,.js,.html -ignore vite.config.js,vite.config.ts,vite-env.d.ts
- cmd: go run ../../../tasks/sed/sed.go replace -dir frontend -old wails.svg -new wails.png -ext .ts,.js,.html -ignore vite.config.js,vite.config.ts,vite-env.d.ts
- cmd: go run ../../../tasks/sed/sed.go replace -dir frontend -old wailsjs.dev -new wails.io -ext .ts,.js,.html -ignore vite.config.js,vite.config.ts,vite-env.d.ts
- cmd: go run ../../../tasks/sed/sed.go replace -dir frontend -old "framework powered by Wails" -new "framework powered by Vite" -ext .ts,.js,.html,.svelte -ignore vite.config.js,vite.config.ts,vite-env.d.ts

release:
summary: Release a new version of Wails. Call with `task v3:release -- <version>`
dir: tasks/release
Expand All @@ -80,55 +60,6 @@ tasks:
cmds:
- go run generate.go

generate:templates:
dir: internal/templates/
deps:
- task: generate:template
vars:
TEMPLATE: svelte
- task: generate:template
vars:
TEMPLATE: svelte-ts
- task: generate:template
vars:
TEMPLATE: vue
- task: generate:template
vars:
TEMPLATE: vue-ts
- task: generate:template
vars:
TEMPLATE: react
- task: generate:template
vars:
TEMPLATE: react-ts
- task: generate:template
vars:
TEMPLATE: preact
- task: generate:template
vars:
TEMPLATE: preact-ts
- task: generate:template
vars:
TEMPLATE: lit
- task: generate:template
vars:
TEMPLATE: lit-ts
- task: generate:template
vars:
TEMPLATE: vanilla
- task: generate:template
vars:
TEMPLATE: vanilla-ts
- task: generate:template
vars:
TEMPLATE: react-swc
- task: generate:template
vars:
TEMPLATE: react-swc-ts
cmds:
- task: reinstall-cli
- echo "Generated templates"

precommit:
cmds:
- go test ./...
Expand Down
189 changes: 0 additions & 189 deletions v3/internal/templates/_base/default/Taskfile.tmpl.yml

This file was deleted.

32 changes: 0 additions & 32 deletions v3/internal/templates/_base/default/build/Info.dev.plist.tmpl

This file was deleted.

27 changes: 0 additions & 27 deletions v3/internal/templates/_base/default/build/Info.plist.tmpl

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
19 changes: 0 additions & 19 deletions v3/internal/templates/_base/default/go.mod.tmpl

This file was deleted.

33 changes: 0 additions & 33 deletions v3/internal/templates/_base/default/go.sum.tmpl

This file was deleted.

Loading

0 comments on commit 77b8b89

Please sign in to comment.