mirror of https://github.com/k3s-io/k3s
Use 'rm' from path in go generate
/bin/rm is less portable. On some distros, like nixos, it doesn't exist at all. Signed-off-by: Euan Kemp <euank@euank.com>pull/2456/head
parent
523ccaf3f2
commit
0521756dd9
2
main.go
2
main.go
|
@ -1,5 +1,5 @@
|
|||
//go:generate go run pkg/codegen/cleanup/main.go
|
||||
//go:generate /bin/rm -rf pkg/generated
|
||||
//go:generate rm -rf pkg/generated
|
||||
//go:generate go run pkg/codegen/main.go
|
||||
//go:generate go fmt pkg/deploy/zz_generated_bindata.go
|
||||
//go:generate go fmt pkg/static/zz_generated_bindata.go
|
||||
|
|
Loading…
Reference in New Issue