From 3b9177995e0124beb064ef8615ba9a2ae7ca4f4b Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 4 May 2022 14:17:02 +0200 Subject: vendor test tools in submodule Instead of using the main module we should vendor the test tools in a different directory. That way we do not add extra dependencies to the main module which can be problemetic for packages or other users. This is already done in buildah so this makes us more consitent. Signed-off-by: Paul Holzinger --- pkg/bindings/generator/generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/bindings/generator') diff --git a/pkg/bindings/generator/generator.go b/pkg/bindings/generator/generator.go index e69973be1..06be52451 100644 --- a/pkg/bindings/generator/generator.go +++ b/pkg/bindings/generator/generator.go @@ -171,7 +171,7 @@ func main() { } // go import file - goimport := exec.Command("goimports", "-w", out.Name()) + goimport := exec.Command("../../../test/tools/build/goimports", "-w", out.Name()) goimport.Stderr = os.Stdout if err := goimport.Run(); err != nil { fmt.Println(err) -- cgit v1.2.3-54-g00ecf