<commit_before>all: build

build:
	@go build -o ilber main.go

vet:
	@go vet ./...

test:
	@go test ./...

release:
	@goxc -q -arch="amd64" -os="linux" -n="ilber" -d=release -pv=0.1
	@rmdir debian/

deploy: release
	@ansible-playbook deploy.yml

issues:
	@hub issue
	@ag --ignore=Makefile -s TODO || true
	@ag --ignore=Makefile -s FIXME || true
	@ag --ignore=Makefile -s println || true

.PHONY: all build vet test release deploy issues
<commit_msg>makefile: use simple scp and ssh commands for deploy mechanism<commit_after>all: build

build:
	@go build -o ilber main.go

vet:
	@go vet ./...

test:
	@go test ./...

release:
	@goxc -q -arch="amd64" -os="linux" -n="ilber" -d=release -pv=0.1
	@rmdir debian/

deploy: release
	@scp release/0.1/ilber_*.deb ilber:
	@ssh ilber 'sudo dpkg -i ilber_*.deb'
	@ssh ilber 'sudo service ilber restart'

issues:
	@hub issue
	@ag --ignore=Makefile -s TODO || true
	@ag --ignore=Makefile -s FIXME || true
	@ag --ignore=Makefile -s println || true

.PHONY: all build vet test release deploy issues

{'fraction_non_alphanumeric': 0.15473887814313347, 'fraction_numerical': 0.009671179883945842, 'mean_word_length': 3.2244897959183674, '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': '3880881', 'n_tokens_mistral': 422, 'n_tokens_neox': 409, 'n_words': 130}