<commit_before>GOTOOLS = github.com/mitchellh/gox \
	  github.com/FiloSottile/gvt \

PACKAGES=$(shell go list ./... | grep -v vendor | sort | uniq)
BINARY_NAME=$(shell basename ${PWD})
MAIN_PACKAGE="."

all: format update-deps test build-dist

build:
	@$(CURDIR)/scripts/build.bash $(BINARY_NAME) $(MAIN_PACKAGE) dev

build-dist:
	@$(CURDIR)/scripts/build.bash $(BINARY_NAME) $(MAIN_PACKAGE)

format:
	@echo "--> Running go fmt"
	@go fmt $(PACKAGES)

test:
	@echo "--> Running Tests"
	@go test

update-deps:
	@echo "--> Updating dependencies"
	@go get -v $(GOTOOLS)
	@gvt update --all

.PHONY: all build build-dist format test update-deps

<commit_msg>Stop updating deps when running make<commit_after>GOTOOLS = github.com/mitchellh/gox github.com/FiloSottile/gvt
PACKAGES=$(shell go list ./... | grep -v vendor | sort | uniq)
BINARY_NAME=$(shell basename ${PWD})
MAIN_PACKAGE="."

all: format init test build-dist

build:
	@$(CURDIR)/scripts/build.bash $(BINARY_NAME) $(MAIN_PACKAGE) dev

build-dist:
	@$(CURDIR)/scripts/build.bash $(BINARY_NAME) $(MAIN_PACKAGE)

format:
	@echo "--> Running go fmt"
	@go fmt $(PACKAGES)

test:
	@echo "--> Running Tests"
	@go test

init:
	@echo "--> Init build tools"
	@go get -v $(GOTOOLS)

update-deps:
	@echo "--> Updating dependencies"
	@(MAKE) tools
	@gvt update --all

.PHONY: all build build-dist format init test update-deps


{'fraction_non_alphanumeric': 0.16143170197224252, 'fraction_numerical': 0.0, 'mean_word_length': 4.092936802973978, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '1098088', 'n_tokens_mistral': 543, 'n_tokens_neox': 519, 'n_words': 135}