Skip to content

Commit

Permalink
fix: go generate not creating dist dir
Browse files Browse the repository at this point in the history
Signed-off-by: Liam Stanley <[email protected]>
  • Loading branch information
lrstanley committed Sep 2, 2022
1 parent df1e81d commit f8b5329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/lrstanley/geoip/internal/models"
)

//go:generate touch public/dist/index.html
//go:generate sh -c "mkdir -vp public/dist;touch public/dist/index.html"
//go:embed all:public/dist
var staticFS embed.FS

Expand Down

0 comments on commit f8b5329

Please sign in to comment.