<commit_before>.PHONY: all build package install clean

all: build

build: ask_nest

ask_nest: ask_nest.go
	go test
	go build -ldflags "-X github.com/otherinbox/gobuild.BuildDate '$$(date)' -X github.com/otherinbox/gobuild.Version '$$(git rev-parse HEAD)'"

ask_nest.zip: ask_nest index.js
	zip ask_nest.zip -xi ask_nest index.js

package: ask_nest.zip

install: ask_nest.zip
	aws lambda update-function-code --function-name ask_nest --zip-file fileb://ask_nest.zip

clean:
	rm ask_nest

cleandist: clean
	rm ask_nest.zip
<commit_msg>make install now publishes atomically.<commit_after>.PHONY: all build package install clean

all: build

build: ask_nest

ask_nest: ask_nest.go
	go test
	go build -ldflags "-X github.com/otherinbox/gobuild.BuildDate '$$(date)' -X github.com/otherinbox/gobuild.Version '$$(git rev-parse HEAD)'"

ask_nest.zip: ask_nest index.js
	zip ask_nest.zip -xi ask_nest index.js

package: ask_nest.zip

install: ask_nest.zip
	aws lambda update-function-code --function-name ask_nest --zip-file fileb://ask_nest.zip --publish

clean:
	rm ask_nest

cleandist: clean
	rm ask_nest.zip

{'fraction_non_alphanumeric': 0.1115140525838622, 'fraction_numerical': 0.0, 'mean_word_length': 4.385365853658537, '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': '4339956', 'n_tokens_mistral': 440, 'n_tokens_neox': 406, 'n_words': 107}