ko-build / ko

Build and deploy Go applications
https://ko.build
Apache License 2.0
7.65k stars 401 forks source link

feat: add ko test command to build with go test -c #1407

Open vincent-d opened 1 month ago

vincent-d commented 1 month ago

Add a new command to build images with the output of go test -c.

It allows configuring build and LD flags in .ko.yaml with different values for build and test commands for a given importpath.

This is a new attempt at implementing #96 with a separate command.