<commit_before>
APP_FILE=backuper_client
APP_PATH=./$(APP_FILE)

NO_COLOR=\033[0m
OK_COLOR=\033[32;01m
ERROR_COLOR=\033[31;01m
WARN_COLOR=\033[33;01m
DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)


deps:
	@echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
	@go get -d -v ./...
	@echo $(DEPS) | xargs -n1 go get -d

updatedeps:
	@echo "$(OK_COLOR)==> Updating all dependencies$(NO_COLOR)"
	@go get -d -v -u ./...
	@echo $(DEPS) | xargs -n1 go get -d -u

format:
	@echo "$(OK_COLOR)==> Formatting$(NO_COLOR)"
	go fmt ./...

lint:
	@echo "$(OK_COLOR)==> Linting$(NO_COLOR)"
	golint .

build:
	@echo "$(OK_COLOR)==> Building$(NO_COLOR)"
	GOOS=linux GOARCH=386 go build -o $(APP_PATH)

clear:
	@echo "$(OK_COLOR)==> Clearing$(NO_COLOR)"
	rm -f $(APP_PATH)

all: format lint build
<commit_msg>Restore ocassionaly deleted rules from Makefile<commit_after>
APP_FILE=gobackuper
APP_PATH=./$(APP_FILE)

NO_COLOR=\033[0m
OK_COLOR=\033[32;01m
ERROR_COLOR=\033[31;01m
WARN_COLOR=\033[33;01m
DEPS=$(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)


deps:
	@echo "$(OK_COLOR)==> Installing dependencies$(NO_COLOR)"
	@go get -d -v ./...
	@echo $(DEPS) | xargs -n1 go get -d

updatedeps:
	@echo "$(OK_COLOR)==> Updating all dependencies$(NO_COLOR)"
	@go get -d -v -u ./...
	@echo $(DEPS) | xargs -n1 go get -d -u

format:
	@echo "$(OK_COLOR)==> Formatting$(NO_COLOR)"
	go fmt ./...

lint:
	@echo "$(OK_COLOR)==> Linting$(NO_COLOR)"
	golint .

build:
	@echo "$(OK_COLOR)==> Building$(NO_COLOR)"
	GOOS=linux GOARCH=386 go build -o $(APP_PATH)

clear:
	@echo "$(OK_COLOR)==> Clearing$(NO_COLOR)"
	rm -f $(APP_PATH)

all: format lint build

install:
	@echo "$(OK_COLOR)==> Compiling$(NO_COLOR)"
	go build -o $(APP_PATH)

{'fraction_non_alphanumeric': 0.21548238012709417, 'fraction_numerical': 0.03466204506065858, 'mean_word_length': 4.37888198757764, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '6728152', 'n_tokens_mistral': 781, 'n_tokens_neox': 727, 'n_words': 173}