Revision ba46dddc2a6ff5afb63dc0ec7a36fba6ab8d51df authored by achalshant on 21 May 2019, 16:32:29 UTC, committed by GitHub on 21 May 2019, 16:32:29 UTC
2 parent s 3f96072 + 5ffff23
Raw File
Makefile
# Run tests
.PHONY: test
test:
	go test ./pkg/... ./cmd/... -coverprofile coverage.out

# Build Katib images
build: 
	bash scripts/v1alpha1/build.sh

# Deploy katib manifests into a k8s cluster
deploy: 
	bash scripts/v1alpha1/deploy.sh

# Run go fmt against code
fmt:
	go fmt ./pkg/... ./cmd/...

# Run go vet against code
vet:
	go vet ./pkg/... ./cmd/...

# Generate code
generate:
ifndef GOPATH
	$(error GOPATH not defined, please define GOPATH. Run "go help gopath" to learn more about GOPATH)
endif
	go generate ./pkg/... ./cmd/...
back to top