kubesphere.io/s2irun@v3.2.1+incompatible/Makefile (about) 1 IMG ?= kubesphere/s2irun:v0.0.1 2 build: 3 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o _output/cmd/builder github.com/kubesphere/s2irun/cmd 4 run: 5 S2I_CONFIG_PATH=test/config.json go run ./cmd/main.go 6 run-b2i: 7 S2I_CONFIG_PATH=test/b2iconfig.json go run ./cmd/main.go 8 image: 9 docker build . -t ${IMG} 10 push: image 11 docker push ${IMG} 12 test: fmt vet 13 go test -v ./pkg/... 14 fmt: 15 go fmt ./pkg/... ./cmd/... 16 vet: 17 go vet ./pkg/... ./cmd/...