Skip to content

Commit

Permalink
Add go install target to makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthibault committed Aug 5, 2024
1 parent b8bbee3 commit a0e72d1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ all: binary
clean:
@if [ -f "ww" ]; then rm ww; fi

binary:
generate:
@go generate ./...

binary: generate
@go build -o ww cmd/main.go

install: generate
@go install github.com/wetware/go/cmd

0 comments on commit a0e72d1

Please sign in to comment.