<commit_before>all: build

FLAGS =
ENVVAR = GOOS=linux GOARCH=amd64 CGO_ENABLED=0
REGISTRY = gcr.io/google_containers
TAG = v0.3.0

deps:
	go get github.com/tools/godep

build: clean deps
	$(ENVVAR) godep go build -o kube-state-metrics 

test-unit: clean deps build
	$(ENVVAR) godep go test --race . $(FLAGS)

container: build
	docker build -t ${REGISTRY}/kube-state-metrics:$(TAG) .

push: container
	gcloud docker push ${REGISTRY}/kube-state-metrics:$(TAG)

clean:
	rm -f kube-state-metrics

.PHONY: all deps build test-unit container push clean<commit_msg>Makefile: retrieve tag through git<commit_after>all: build

FLAGS =
ENVVAR = GOOS=linux GOARCH=amd64 CGO_ENABLED=0
REGISTRY = gcr.io/google_containers
TAG = $(shell git describe --abbrev=0)

deps:
	go get github.com/tools/godep

build: clean deps
	$(ENVVAR) godep go build -o kube-state-metrics 

test-unit: clean deps build
	$(ENVVAR) godep go test --race . $(FLAGS)

container: build
	docker build -t ${REGISTRY}/kube-state-metrics:$(TAG) .

push: container
	gcloud docker push ${REGISTRY}/kube-state-metrics:$(TAG)

clean:
	rm -f kube-state-metrics

.PHONY: all deps build test-unit container push clean
{'fraction_non_alphanumeric': 0.12103004291845494, 'fraction_numerical': 0.008583690987124463, 'mean_word_length': 4.348623853211009, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1801854', 'n_tokens_mistral': 456, 'n_tokens_neox': 434, 'n_words': 122}