<commit_before>VERSION := 3.0.0

COMPONENTS := base zookeeper kafka kafkacat kafka-rest schema-registry

build-debian:
	for component in ${COMPONENTS} ; do \
        echo "\n\nBuilding $${component} \n==========================================\n " ; \
				docker build -t confluentinc/$${component}:${VERSION} debian/$${component} || exit 1 ; \
				docker tag confluentinc/$${component}:${VERSION} confluentinc/$${component}:latest || exit 1 ; \
  done


venv: venv/bin/activate
venv/bin/activate: tests/requirements.txt
	test -d venv || virtualenv venv
	venv/bin/pip install -Ur tests/requirements.txt
	touch venv/bin/activate

docker-env:
	$(shell docker-machine env gce)
<commit_msg>Allow custom repository. (#10)<commit_after>VERSION := 3.0.0

COMPONENTS := base zookeeper kafka kafkacat kafka-rest schema-registry

REPOSITORY := confluentinc
#	REPOSITORY := <your_personal_repo>

build-debian:
	for component in ${COMPONENTS} ; do \
        echo "\n\nBuilding $${component} \n==========================================\n " ; \
				docker build -t ${REPOSITORY}/$${component}:${VERSION} debian/$${component} || exit 1 ; \
				docker tag ${REPOSITORY}/$${component}:${VERSION} ${REPOSITORY}/$${component}:latest || exit 1 ; \
  done


venv: venv/bin/activate
venv/bin/activate: tests/requirements.txt
	test -d venv || virtualenv venv
	venv/bin/pip install -Ur tests/requirements.txt
	touch venv/bin/activate

docker-env:
	$(shell docker-machine env gce)

{'fraction_non_alphanumeric': 0.19766643788606725, 'fraction_numerical': 0.008236101578586136, 'mean_word_length': 4.380073800738008, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '4677262', 'n_tokens_mistral': 525, 'n_tokens_neox': 480, 'n_words': 113}