<commit_before>.PHONY: help build build_pkgs test install clean

help:
	@echo "build:   Build code."
	@echo "test:    Run tests."
	@echo "install: Install binary."
	@echo "clean:   Clean up."

build: build_pkgs
	@mkdir -p ./bin
	@rm -f ./bin/*
	go build -o ./bin/sup ./cmd/sup

build_pkgs:
	go build ./...

test:
	#go test | grep -v "no test files" 
	cd example && sup local test

install: build
	go install ./...

clean:
	@rm -rf ./bin
<commit_msg>Enable go tests, fix return code of 'make test'<commit_after>.PHONY: help build build_pkgs test install clean

help:
	@echo "build:   Build code."
	@echo "test:    Run tests."
	@echo "install: Install binary."
	@echo "clean:   Clean up."

build: build_pkgs
	@mkdir -p ./bin
	@rm -f ./bin/*
	go build -o ./bin/sup ./cmd/sup

build_pkgs:
	go build ./...

test:
	go test
	cd example && sup local test

install: build
	go install ./...

clean:
	@rm -rf ./bin

{'fraction_non_alphanumeric': 0.1504424778761062, 'fraction_numerical': 0.0, 'mean_word_length': 2.6345381526104417, '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': '4161844', 'n_tokens_mistral': 346, 'n_tokens_neox': 341, 'n_words': 125}