<commit_before>.PHONY: default
default: buildimage dev

.PHONY: buildimage
buildimage:
	docker build -t raphiz/pyseries ./

within_docker = docker run --rm -it --name pyseries -u user -v $(shell pwd):/src/ -e "GIT_AUTHOR_NAME=$(shell git config user.name)" -e "GIT_COMMITTER_NAME=$(shell git config user.name)" -e "EMAIL=$(shell git config user.email)" raphiz/pyseries

.PHONY: release
release:
	@echo "Is everything commited? Are you ready to release? Press any key to continue - abort with Ctrl+C"
	@read x
	@$(within_docker) bumpversion --message "Release version {current_version}" release
	@$(within_docker) python setup.py sdist bdist_wheel
	@$(within_docker) bumpversion --message "Preparing next version {new_version}" --no-tag patch
	@echo "Don't forget to push the tags!"

.PHONY: dev
dev:
	$(within_docker) bash

integration:
	docker run --rm -it -v $(shell pwd):/src/:ro -w /src python:3.4 bash<commit_msg>Add tag push commad within release output msg<commit_after>.PHONY: default
default: buildimage dev

.PHONY: buildimage
buildimage:
	docker build -t raphiz/pyseries ./

within_docker = docker run --rm -it --name pyseries -u user -v $(shell pwd):/src/ -e "GIT_AUTHOR_NAME=$(shell git config user.name)" -e "GIT_COMMITTER_NAME=$(shell git config user.name)" -e "EMAIL=$(shell git config user.email)" raphiz/pyseries

.PHONY: release
release:
	@echo "Is everything commited? Are you ready to release? Press any key to continue - abort with Ctrl+C"
	@read x
	@$(within_docker) bumpversion --message "Release version {current_version}" release
	@$(within_docker) python setup.py sdist bdist_wheel
	@$(within_docker) bumpversion --message "Preparing next version {new_version}" --no-tag patch
	@echo "Don't forget to push the tags (git push origin master --tags)!"

.PHONY: dev
dev:
	$(within_docker) bash

integration:
	docker run --rm -it -v $(shell pwd):/src/:ro -w /src python:3.4 bash
{'fraction_non_alphanumeric': 0.12631578947368421, 'fraction_numerical': 0.002105263157894737, 'mean_word_length': 4.510144927536232, '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': '3531237', 'n_tokens_mistral': 665, 'n_tokens_neox': 634, 'n_words': 225}