Skip to content

Commit

Permalink
tpl: Use go:embed to load internal templates
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Feb 9, 2022
1 parent f60714b commit fcaf3f7
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 869 deletions.
3 changes: 2 additions & 1 deletion magefile.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build mage
// +build mage

package main
Expand Down Expand Up @@ -79,7 +80,7 @@ func flagEnv() map[string]string {
// Generate autogen packages
func Generate() error {
generatorPackages := []string{
"tpl/tplimpl/embedded/generate",
//"tpl/tplimpl/embedded/generate",
//"resources/page/generate",
}

Expand Down
5 changes: 0 additions & 5 deletions tpl/tplimpl/embedded/README.md

This file was deleted.

98 changes: 0 additions & 98 deletions tpl/tplimpl/embedded/generate/generate.go

This file was deleted.

Loading

0 comments on commit fcaf3f7

Please sign in to comment.