<commit_before>default: linux windows macos

client: linux-client macos-client windows-client
server: linux-server macos-server windows-server

linux: linux-client linux-server

linux-server:
	mkdir -p bin/linux
	GOOS=linux GOARCH=amd64 go get -d -v -x ./cmd/askgod-server
	cd bin/linux ; GOOS=linux GOARCH=amd64 go build ../../cmd/askgod-server

linux-client:
	mkdir -p bin/linux
	GOOS=linux GOARCH=amd64 go get -d -v -x ./cmd/askgod
	cd bin/linux ; GOOS=linux GOARCH=amd64 go build ../../cmd/askgod

windows: windows-client windows-server

windows-server:
	mkdir -p bin/windows
	GOOS=windows GOARCH=amd64 go get -d -v -x ./cmd/askgod-server
	cd bin/windows ; GOOS=windows GOARCH=amd64 go build ../../cmd/askgod-server

windows-client:
	mkdir -p bin/windows
	GOOS=windows GOARCH=amd64 go get -d -v -x ./cmd/askgod
	cd bin/windows ; GOOS=windows GOARCH=amd64 go build ../../cmd/askgod

macos: macos-client macos-server

macos-server:
	mkdir -p bin/macos
	GOOS=darwin GOARCH=amd64 go get -d -v -x ./cmd/askgod
	cd bin/macos ; GOOS=darwin GOARCH=amd64 go build ../../cmd/askgod-server

macos-client:
	mkdir -p bin/macos
	GOOS=darwin GOARCH=amd64 go get -d -v -x ./cmd/askgod
	cd bin/macos ; GOOS=darwin GOARCH=amd64 go build ../../cmd/askgod

check:
	golint ./...
	go vet ./...
	go fmt ./...
	gofmt -s -w ./
<commit_msg>Makefile: Add gomod<commit_after>default: linux windows macos

client: linux-client macos-client windows-client
server: linux-server macos-server windows-server

linux: linux-client linux-server

linux-server:
	mkdir -p bin/linux
	GOOS=linux GOARCH=amd64 go get -d -v -x ./cmd/askgod-server
	cd bin/linux ; GOOS=linux GOARCH=amd64 go build ../../cmd/askgod-server

linux-client:
	mkdir -p bin/linux
	GOOS=linux GOARCH=amd64 go get -d -v -x ./cmd/askgod
	cd bin/linux ; GOOS=linux GOARCH=amd64 go build ../../cmd/askgod

windows: windows-client windows-server

windows-server:
	mkdir -p bin/windows
	GOOS=windows GOARCH=amd64 go get -d -v -x ./cmd/askgod-server
	cd bin/windows ; GOOS=windows GOARCH=amd64 go build ../../cmd/askgod-server

windows-client:
	mkdir -p bin/windows
	GOOS=windows GOARCH=amd64 go get -d -v -x ./cmd/askgod
	cd bin/windows ; GOOS=windows GOARCH=amd64 go build ../../cmd/askgod

macos: macos-client macos-server

macos-server:
	mkdir -p bin/macos
	GOOS=darwin GOARCH=amd64 go get -d -v -x ./cmd/askgod
	cd bin/macos ; GOOS=darwin GOARCH=amd64 go build ../../cmd/askgod-server

macos-client:
	mkdir -p bin/macos
	GOOS=darwin GOARCH=amd64 go get -d -v -x ./cmd/askgod
	cd bin/macos ; GOOS=darwin GOARCH=amd64 go build ../../cmd/askgod

check:
	go get -t -v -d -u ./...
	go mod tidy
	golint ./...
	go vet ./...
	go fmt ./...
	gofmt -s -w ./

{'fraction_non_alphanumeric': 0.1409921671018277, 'fraction_numerical': 0.017903767251025736, 'mean_word_length': 2.979228486646884, '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': '1604001', 'n_tokens_mistral': 1073, 'n_tokens_neox': 1010, 'n_words': 299}