Skip to content

Commit 5865d0a

Browse files
authored
Makefile: 'generate' target (tailscale#16746)
Signed-off-by: Michael Ben-Ami <[email protected]>
1 parent f2fd7a0 commit 5865d0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ sshintegrationtest: ## Run the SSH integration tests in various Docker container
133133
echo "Testing on ubuntu:noble" && docker build --build-arg="BASE=ubuntu:noble" -t ssh-ubuntu-noble ssh/tailssh/testcontainers && \
134134
echo "Testing on alpine:latest" && docker build --build-arg="BASE=alpine:latest" -t ssh-alpine-latest ssh/tailssh/testcontainers
135135

136+
.PHONY: generate
137+
generate: ## Generate code
138+
./tool/go generate ./...
139+
136140
help: ## Show this help
137141
@echo "\nSpecify a command. The choices are:\n"
138142
@grep -hE '^[0-9a-zA-Z_-]+:.*?## .*$$' ${MAKEFILE_LIST} | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[0;36m%-20s\033[m %s\n", $$1, $$2}'

0 commit comments

Comments
 (0)