Also delete generated files with 'make clean'
This commit is contained in:
parent
f1399ca929
commit
fa6f2a90d3
2
Makefile
2
Makefile
@ -61,7 +61,7 @@ lint:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
@go clean -i -x
|
@go clean -i -x
|
||||||
rm -f flamenco*-poc-v* flamenco*-poc *.exe resource.syso
|
rm -f flamenco*-poc-v* flamenco*-poc *.exe resource.syso pkg/api/*.gen.go
|
||||||
|
|
||||||
static: vet lint resource.syso
|
static: vet lint resource.syso
|
||||||
go build -v -o ${STATIC_OUT} -tags netgo -ldflags="-extldflags \"-static\" -w -s ${LDFLAGS}" ${PKG}
|
go build -v -o ${STATIC_OUT} -tags netgo -ldflags="-extldflags \"-static\" -w -s ${LDFLAGS}" ${PKG}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user