Skip to content

Commit 07c8cd4

Browse files
committed
fix: add GOPATH/bin to PATH in Makefile so auto-installed tools are found
1 parent 803979e commit 07c8cd4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

catuaba.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func main() {
2929
app := &cli.App{
3030
Name: "catuaba",
3131
Usage: "Build full-stack Go web apps in minutes, not days",
32-
Version: "0.1.2",
32+
Version: "0.1.3",
3333
Commands: []*cli.Command{
3434
{
3535
Name: "mcp",

generator/templates/application/Makefile.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
.PHONY: dev build test lint clean docker-up docker-down tidy help setup
22

33
APP_NAME={{.Name}}
4+
GOBIN=$(shell go env GOPATH)/bin
5+
export PATH := $(GOBIN):$(PATH)
46

57
## dev: Start development with hot reload (templ + tailwind + go)
68
dev:

0 commit comments

Comments
 (0)