Skip to content

Commit

Permalink
Wrap go:generate cp in shell to allow wildcard expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
tfabritius committed May 22, 2023
1 parent 44692f9 commit f61b582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

//go:generate rm -rf ./static/*
//go:generate cp -r ../frontend/.output/public/* ./static/
//go:generate sh -c "cp -r ../frontend/.output/public/* ./static/"
//go:embed all:static
var frontendFs embed.FS

Expand Down

0 comments on commit f61b582

Please sign in to comment.