<commit_before>.PHONY: test

build: go-get install test

go-get:
	go get github.com/trustmaster/goflow
	go get gopkg.in/alecthomas/kingpin.v2
	go get github.com/stretchr/testify
	go get github.com/mtojek/localserver

install:
	go get -t -v ./...

test:
	go test -v ./...
	go test -race  -i ./...
	golint ./...
	go tool vet -v=true .
	test -z "`gofmt -d .`"
	test -z "`goimports -l .`"

cc: #cleancode
	gofmt -s -w .
	goimports -w .

dev: install
	go-url-fuzzer -h "a: 1" -h "b: 2" -m "POST" -m "GET" -m "PUT" resources/input-data/fuzz_02.txt http://www.wp.pl/<commit_msg>Fix: go get golint<commit_after>.PHONY: test

build: go-get install test

go-get:
	go get github.com/golang/lint/golint
	go get github.com/trustmaster/goflow
	go get gopkg.in/alecthomas/kingpin.v2
	go get github.com/stretchr/testify
	go get github.com/mtojek/localserver

install:
	go get -t -v ./...

test:
	go test -v ./...
	go test -race  -i ./...
	golint ./...
	go tool vet -v=true .
	test -z "`gofmt -d .`"
	test -z "`goimports -l .`"

cc: #cleancode
	gofmt -s -w .
	goimports -w .

dev: install
	go-url-fuzzer -h "a: 1" -h "b: 2" -m "POST" -m "GET" -m "PUT" resources/input-data/fuzz_02.txt http://www.wp.pl/
{'fraction_non_alphanumeric': 0.1780590717299578, 'fraction_numerical': 0.008438818565400843, 'mean_word_length': 2.4080459770114944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2570199', 'n_tokens_mistral': 564, 'n_tokens_neox': 541, 'n_words': 143}