<commit_before>VERSION=$(awk '/Version/ { gsub("\"", ""); print $NF }' ${ROOT_DIR}/application/constants.go)

test: unit

unit:
	@(go list ./... | xargs -n1 go test -v)

deps:
	godep save ./...

format:
	@(go fmt ./...)
	@(go vet ./...)

.PNONY: all test format<commit_msg>Add task in Makefile to build<commit_after>BIN_DIR = $(ROOT_DIR)/bin
PICFIT_CMD_DIR = $(CMD_DIR)/picfit
PICFIT_BIN = $(BIN_DIR)/picfit
VERSION=$(awk '/Version/ { gsub("\"", ""); print $NF }' ${ROOT_DIR}/application/constants.go)

test: unit

unit:
	@(go list ./... | xargs -n1 go test -v)

deps:
	godep save ./...

all: picfit
	@(mkdir -p $(BIN_DIR))

picfit:
	@(go get github.com/tools/godep)
	@(echo "-> Compiling picfit binary")
	@(mkdir -p $(BIN_DIR))
	@(cd $(PICFIT_CMD_DIR) && godep go build -o $(PICFIT_BIN)) 
	@(echo "-> picfit binary created: $(PICFIT_BIN)")

format:
	@(go fmt ./...)
	@(go vet ./...)

.PNONY: all test format
{'fraction_non_alphanumeric': 0.22356828193832598, 'fraction_numerical': 0.0022026431718061676, 'mean_word_length': 3.2877358490566038, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5459363', 'n_tokens_mistral': 386, 'n_tokens_neox': 381, 'n_words': 94}