<commit_before>make:
	go build -o bin/wavepipe

fmt:
	go fmt
	golint .
	errcheck github.com/mdlayher/wavepipe

darwin_386:
	GOOS="darwin" GOARCH="386" go build -o bin/wavepipe_darwin_386

darwin_amd64:
	GOOS="darwin" GOARCH="amd64" go build -o bin/wavepipe_darwin_amd64

linux_386:
	GOOS="linux" GOARCH="386" go build -o bin/wavepipe_linux_386

linux_amd64:
	GOOS="linux" GOARCH="amd64" go build -o bin/wavepipe_linux_amd64

windows_386:
	GOOS="windows" GOARCH="386" go build -o bin/wavepipe_windows_386

windows_amd64:
	GOOS="windows" GOARCH="amd64" go build -o bin/wavepipe_windows_amd64<commit_msg>Add variables to Makefile, lint and errcheck all packages<commit_after># Name of the output binary
WP=wavepipe
# Full go import path of the project
WPPATH=github.com/mdlayher/${WP}

# Build the binary
make:
	go build -o bin/${WP}

# Format and error-check all files
fmt:
	go fmt ${WPPATH}
	go fmt ${WPPATH}/core
	golint .
	golint ./core
	errcheck ${WPPATH}
	errcheck ${WPPATH}/core

# Cross-compile the binary

darwin_386:
	GOOS="darwin" GOARCH="386" go build -o bin/${WP}_darwin_386

darwin_amd64:
	GOOS="darwin" GOARCH="amd64" go build -o bin/${WP}_darwin_amd64

linux_386:
	GOOS="linux" GOARCH="386" go build -o bin/${WP}_linux_386

linux_amd64:
	GOOS="linux" GOARCH="amd64" go build -o bin/${WP}_linux_amd64

windows_386:
	GOOS="windows" GOARCH="386" go build -o bin/${WP}_windows_386

windows_amd64:
	GOOS="windows" GOARCH="amd64" go build -o bin/${WP}_windows_amd64
{'fraction_non_alphanumeric': 0.12228260869565218, 'fraction_numerical': 0.06114130434782609, 'mean_word_length': 5.294871794871795, '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': '542876', 'n_tokens_mistral': 634, 'n_tokens_neox': 583, 'n_words': 147}