<commit_before>OUTPUT         := _output
OUTPUT_BASE    := $(GOPATH)/src 
INPUT_BASE     := github.com/sapcc/kubernikus
API_BASE       := $(INPUT_BASE)/pkg/apis
GENERATED_BASE := $(INPUT_BASE)/pkg/generated
BIN            := $(OUTPUT)/bin

.PHONY: client-gen informer-gen lister-gen

client-gen: $(BIN)/client-gen
	@rm -rf ./pkg/generated/clientset
	@mkdir -p ./pkg/generated/clientset
	$(BIN)/client-gen \
	  --go-header-file /dev/null \
	  --output-base $(OUTPUT_BASE) \
	  --input-base $(API_BASE) \
	  --clientset-path $(GENERATED_BASE) \
	  --input kubernikus/v1 \
	  --clientset-name clientset 

informer-gen: $(BIN)/bin/informer-gen
	@rm -rf ./pkg/generated/informers
	@mkdir -p ./pkg/generated/informers
	$(BIN)/informer-gen \
	  --logtostderr \
	  --go-header-file /dev/null \
	  --output-base                 $(OUTPUT_BASE) \
	  --input-dirs                  $(API_BASE)/kubernikus/v1  \
	  --output-package              $(GENERATED_BASE)/informers \
	  --listers-package             $(GENERATED_BASE)/listers   \
	  --internal-clientset-package  $(GENERATED_BASE)/clientset \
	  --versioned-clientset-package $(GENERATED_BASE)/clientset 

lister-gen: $(BIN)/bin/lister-gen
	@rm -rf ./pkg/generated/listers
	@mkdir -p ./pkg/generated/listers
	$(BIN)/lister-gen \
	  --logtostderr \
	  --go-header-file /dev/null \
	  --output-base    $(OUTPUT_BASE) \
	  --input-dirs     $(API_BASE)/kubernikus/v1 \
	  --output-package $(GENERATED_BASE)/listers 

$(OUTPUT)/bin/%:
	@mkdir -p _output/bin
	go build -o $@ ./vendor/k8s.io/code-generator/cmd/$*<commit_msg>fixes broken target for code generators<commit_after>OUTPUT         := _output
OUTPUT_BASE    := $(GOPATH)/src 
INPUT_BASE     := github.com/sapcc/kubernikus
API_BASE       := $(INPUT_BASE)/pkg/apis
GENERATED_BASE := $(INPUT_BASE)/pkg/generated
BIN            := $(OUTPUT)/bin

.PHONY: client-gen informer-gen lister-gen

client-gen: $(BIN)/client-gen
	@rm -rf ./pkg/generated/clientset
	@mkdir -p ./pkg/generated/clientset
	$(BIN)/client-gen \
	  --go-header-file /dev/null \
	  --output-base $(OUTPUT_BASE) \
	  --input-base $(API_BASE) \
	  --clientset-path $(GENERATED_BASE) \
	  --input kubernikus/v1 \
	  --clientset-name clientset 

informer-gen: $(BIN)/informer-gen
	@rm -rf ./pkg/generated/informers
	@mkdir -p ./pkg/generated/informers
	$(BIN)/informer-gen \
	  --logtostderr \
	  --go-header-file /dev/null \
	  --output-base                 $(OUTPUT_BASE) \
	  --input-dirs                  $(API_BASE)/kubernikus/v1  \
	  --output-package              $(GENERATED_BASE)/informers \
	  --listers-package             $(GENERATED_BASE)/listers   \
	  --internal-clientset-package  $(GENERATED_BASE)/clientset \
	  --versioned-clientset-package $(GENERATED_BASE)/clientset 

lister-gen: $(BIN)/lister-gen
	@rm -rf ./pkg/generated/listers
	@mkdir -p ./pkg/generated/listers
	$(BIN)/lister-gen \
	  --logtostderr \
	  --go-header-file /dev/null \
	  --output-base    $(OUTPUT_BASE) \
	  --input-dirs     $(API_BASE)/kubernikus/v1 \
	  --output-package $(GENERATED_BASE)/listers 

$(OUTPUT)/bin/%:
	@mkdir -p _output/bin
	go build -o $@ ./vendor/k8s.io/code-generator/cmd/$*
{'fraction_non_alphanumeric': 0.16995544239338, 'fraction_numerical': 0.002546148949713558, 'mean_word_length': 2.423747276688453, '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': '5783733', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1134, 'n_words': 178}