<commit_before>GO ?= go

# command to build and run on the local OS.
GO_BUILD = go build

# command to compiling the distributable. Specify GOOS and GOARCH for
# the target OS.
GO_DIST = CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO_BUILD) -a -tags netgo -ldflags '-w'

.PHONY: dist

all: clean build

deps:
	go get -t ./...

dist: test
	mkdir -p dist
	$(GO_DIST) -o dist/genpass-http cmd/genpass-http/main.go

build: test
	mkdir -p build
	$(GO_BUILD) -o build/queue-foo-publish cmd/queue-foo-publish/main.go
	$(GO_BUILD) -o build/queue-foo-receive cmd/queue-foo-receive/main.go

test:
	$(GO) test

docker: dist
	docker build -t genpass-http .

docker-run:
	docker run -p5000:5000 -e PORT=5000 genpass-http

clean:<commit_msg>Tidy up Makefile<commit_after>GO ?= go

# command to build and run on the local OS.
GO_BUILD = go build

# command to compiling the distributable. Specify GOOS and GOARCH for
# the target OS.
GO_DIST = CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO_BUILD) -a -tags netgo -ldflags '-w'

.PHONY: dist

all: clean build

deps:
	go get -t ./...

dist: test prepare
	$(GO_DIST) -o dist/genpass-http cmd/genpass-http/main.go

build: test prepare
	$(GO_BUILD) -o dist/genpass-http cmd/genpass-http/main.go

prepare:
	mkdir -p dist
	mkdir -p build

test:
	$(GO) test

# See https://devcenter.heroku.com/articles/container-registry-and-runtime
deploy: docker
	heroku container:push web

docker: dist
	docker build -t genpass-http .

docker-run:
	docker run -p 5000:5000 -e PORT=5000 genpass-http

clean:
{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.01982815598149372, 'mean_word_length': 3.5740181268882174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '1280541', 'n_tokens_mistral': 611, 'n_tokens_neox': 570, 'n_words': 178}