<commit_before>.PHONY: test build clean inttest rpm deb dist javadoc license client-jar

GRADLE=./gradlew

javadoc:
	JAVA_TOOL_OPTIONS='-Dfile.encoding=UTF8' LANG=C $(GRADLE) aggregateJavadoc

test:
	$(GRADLE) test

inttest:
	$(GRADLE) clean
	@echo "Testing Apache Mesos 1.2"
	$(GRADLE) :retz-inttest:test -Dinttest -is -Dmesos_version=1.2.1-2.0.1
	$(GRADLE) clean
	@echo "Testing Apache Mesos 1.3"
	$(GRADLE) :retz-inttest:test -Dinttest -is -Dmesos_version=1.3.0-2.0.3
	$(GRADLE) clean
	@echo "Testing latest Apache Mesos (could be same as 1.3)"
	$(GRADLE) :retz-inttest:test -Dinttest -is

build:
	$(GRADLE) build jacocoTestReport
<commit_msg>Reorganize Makefile to run tests on proper version of Mesos<commit_after>.PHONY: test build clean inttest inttest-old inttest-latest \
    rpm deb dist javadoc license client-jar

GRADLE=./gradlew

javadoc:
	JAVA_TOOL_OPTIONS='-Dfile.encoding=UTF8' LANG=C $(GRADLE) aggregateJavadoc

test:
	$(GRADLE) test

inttest: inttest-latest inttest-old

inttest-latest:
	$(GRADLE) clean
	docker rmi mesos-retz
	@echo "Testing latest Apache Mesos (could be same as 1.3)"
	$(GRADLE) :retz-inttest:test -Dinttest -is

inttest-old:
	$(GRADLE) clean
	docker rmi mesos-retz
	@echo "Testing Apache Mesos 1.2"
	$(GRADLE) :retz-inttest:test -Dinttest -is -Dmesos_version=1.2.1-2.0.1
	$(GRADLE) clean
	docker rmi mesos-retz
	@echo "Testing Apache Mesos 1.3"
	$(GRADLE) :retz-inttest:test -Dinttest -is -Dmesos_version=1.3.0-2.0.3

build:
	$(GRADLE) build jacocoTestReport

{'fraction_non_alphanumeric': 0.12817089452603472, 'fraction_numerical': 0.025367156208277702, 'mean_word_length': 4.5724907063197024, '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': '5775933', 'n_tokens_mistral': 652, 'n_tokens_neox': 626, 'n_words': 154}