<commit_before>.DEFAULT: test
SHELL:=/bin/bash
TEST?=$$(go list ./... |grep -v 'vendor')

format:
	gofmt -w -s .
	$(MAKE) -C ./cli/ format
	$(MAKE) -C ./gocd/ format
	$(MAKE) -C ./gocd-cli-action-generator/ format
	$(MAKE) -C ./gocd-response-links-generator/ format

lint:
	diff -u <(echo -n) <(gofmt -d -s .)
	golint -set_exit_status . ./cli ./gocd ./gocd-*-generator

test: lint
	go tool vet .
	bash -x ./go.test.sh
	$(MAKE) -C ./gocd test
	$(MAKE) -C ./cli test

before_install:
	@go get -t -v $$(go list ./... | grep -v vendor/)
	@go get github.com/golang/lint/golint

build: deploy_on_develop

deploy_on_tag:
	go get github.com/goreleaser/goreleaser
	gem install --no-ri --no-rdoc -v "1.8.1" fpm
	go get
	goreleaser

deploy_on_develop:
	go get github.com/goreleaser/goreleaser
	gem install --no-ri --no-rdoc fpm
	go get
	goreleaser --rm-dist --snapshot<commit_msg>Specify which gofiles to lint<commit_after>.DEFAULT: test
SHELL:=/bin/bash
TEST?=$$(go list ./... |grep -v 'vendor')

format:
	gofmt -w -s .
	$(MAKE) -C ./cli/ format
	$(MAKE) -C ./gocd/ format
	$(MAKE) -C ./gocd-cli-action-generator/ format
	$(MAKE) -C ./gocd-response-links-generator/ format

lint:
	diff -u <(echo -n) <(gofmt -d -s .)
	golint -set_exit_status main.go ./cli ./gocd ./gocd-*-generator

test: lint
	go tool vet .
	bash -x ./go.test.sh
	$(MAKE) -C ./gocd test
	$(MAKE) -C ./cli test

before_install:
	@go get -t -v $$(go list ./... | grep -v vendor/)
	@go get github.com/golang/lint/golint

build: deploy_on_develop

deploy_on_tag:
	go get github.com/goreleaser/goreleaser
	gem install --no-ri --no-rdoc -v "1.8.1" fpm
	go get
	goreleaser

deploy_on_develop:
	go get github.com/goreleaser/goreleaser
	gem install --no-ri --no-rdoc fpm
	go get
	goreleaser --rm-dist --snapshot
{'fraction_non_alphanumeric': 0.17727272727272728, 'fraction_numerical': 0.003409090909090909, 'mean_word_length': 2.7230443974630023, 'pattern_counts': {'":': 0, '<': 7, '<?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': '428568', 'n_tokens_mistral': 796, 'n_tokens_neox': 759, 'n_words': 204}