<commit_before>NAME:=go-carbon
MAINTAINER:="<NAME> <<EMAIL>>"
DESCRIPTION:="Golang implementation of Graphite/Carbon server"
MODULE:=github.com/lomik/go-carbon

GO ?= go
export GOPATH := $(CURDIR)/_vendor
TEMPDIR:=$(shell mktemp -d)
VERSION:=$(shell sh -c 'grep "const Version" $(NAME).go  | cut -d\" -f2')
BUILD ?= $(shell git describe --abbrev=4 --dirty --always --tags)

all: $(NAME)

submodules:
	git submodule sync
	git submodule update --init --recursive

$(NAME):
	$(GO) build --ldflags '-X main.BuildVersion=$(BUILD)' $(MODULE)

run-test:
	$(GO) $(COMMAND) $(MODULE)
	$(GO) $(COMMAND) $(MODULE)/cache
	$(GO) $(COMMAND) $(MODULE)/carbon
	$(GO) $(COMMAND) $(MODULE)/carbonserver
	$(GO) $(COMMAND) $(MODULE)/helper/carbonzipperpb
	$(GO) $(COMMAND) $(MODULE)/helper
	$(GO) $(COMMAND) $(MODULE)/helper/qa
	$(GO) $(COMMAND) $(MODULE)/helper/stat
	$(GO) $(COMMAND) $(MODULE)/persister
	$(GO) $(COMMAND) $(MODULE)/points
	$(GO) $(COMMAND) $(MODULE)/receiver<commit_msg>run tags tests<commit_after>NAME:=go-carbon
MAINTAINER:="<NAME> <<EMAIL>>"
DESCRIPTION:="Golang implementation of Graphite/Carbon server"
MODULE:=github.com/lomik/go-carbon

GO ?= go
export GOPATH := $(CURDIR)/_vendor
TEMPDIR:=$(shell mktemp -d)
VERSION:=$(shell sh -c 'grep "const Version" $(NAME).go  | cut -d\" -f2')
BUILD ?= $(shell git describe --abbrev=4 --dirty --always --tags)

all: $(NAME)

submodules:
	git submodule sync
	git submodule update --init --recursive

$(NAME):
	$(GO) build --ldflags '-X main.BuildVersion=$(BUILD)' $(MODULE)

run-test:
	$(GO) $(COMMAND) $(MODULE)
	$(GO) $(COMMAND) $(MODULE)/cache
	$(GO) $(COMMAND) $(MODULE)/carbon
	$(GO) $(COMMAND) $(MODULE)/carbonserver
	$(GO) $(COMMAND) $(MODULE)/helper/carbonzipperpb
	$(GO) $(COMMAND) $(MODULE)/helper
	$(GO) $(COMMAND) $(MODULE)/helper/qa
	$(GO) $(COMMAND) $(MODULE)/helper/stat
	$(GO) $(COMMAND) $(MODULE)/persister
	$(GO) $(COMMAND) $(MODULE)/points
	$(GO) $(COMMAND) $(MODULE)/tags
	$(GO) $(COMMAND) $(MODULE)/receiver
{'fraction_non_alphanumeric': 0.22515212981744423, 'fraction_numerical': 0.002028397565922921, 'mean_word_length': 5.2834394904458595, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6007015', 'n_tokens_mistral': 717, 'n_tokens_neox': 719, 'n_words': 178}