uber-common / cadence-samples

Other
191 stars 92 forks source link

Error in generating binary, flag provided but not defined: -i in go build cmd #70

Open ritikgarg655 opened 1 year ago

ritikgarg655 commented 1 year ago

error on running make cmd:

go build -i -o bin/helloworld cmd/samples/recipes/helloworld/*.go flag provided but not defined: -i usage: go build [-o output] [build flags] [packages] Run 'go help build' for details. make: *** [helloworld] Error 2

Go version: go version go1.20.1 darwin/arm64

ritikgarg655 commented 1 year ago

By removing -i flag from go build cmd in Makefile it is running successfully.

ritikgarg655 commented 1 year ago

Should I create PR for it?

dkrotx commented 1 year ago

Thanks for reporting this! It is fixed now.