<commit_before>.PHONY: help # List of targets with descriptions
help:
	@grep '^\.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1\t\2/' | expand -t20

.PHONY: build # Build all development project (not itest and docker)
build:
	mvn -Pbuild install

.PHONY: clean # Run mvn clean
clean:
	mvn -Pbuild,itest,docker --fail-at-end clean

.PHONY: pom-xml # Generate pom.xml files
pom-xml:
	mvn -Pbuild,gen-pom-xml initialize

.PHOMY: eclipse # Generate Eclipse project files
eclipse: pom-xml
	mvn -Peclipse,build initialize de.tototec:de.tobiasroeser.eclipse-maven-plugin:0.1.1:eclipse

.PHONY: full # A full build including docker tests
full: docker-clean
	mvn -Pbuild,itest,docker install

.PHONY: light # Build but skip test executions
light:
	mvn -Pbuild -DskipTests install

.PHONY: docker-clean # Cleanup old images from docker registry
docker-clean:
	for vm in $$(docker ps -aq); do \
		docker rm -f $$vm; \
	done
	for image in $$(docker images | grep none | awk '{print $$3;}'); \
		do docker rmi -f $$image; \
	done

.PHONY: travis-prepare # Prepare travis env, e.g. pre-fetching maven (somewhat quieter)
travis-prepare:
	# Errors in the next command are ignored
	-mvn --fail-at-end dependency:go-offline | grep -vi download

.PHONY: travis-build # Build the project with travis
travis-build: build

.PHONY: travis # Run a full travis build
travis: travis-prepare travis-build<commit_msg>Use resolve instead of go-offline<commit_after>.PHONY: help # List of targets with descriptions
help:
	@grep '^\.PHONY: .* #' Makefile | sed 's/\.PHONY: \(.*\) # \(.*\)/\1\t\2/' | expand -t20

.PHONY: build # Build all development project (not itest and docker)
build:
	mvn -Pbuild install

.PHONY: clean # Run mvn clean
clean:
	mvn -Pbuild,itest,docker --fail-at-end clean

.PHONY: pom-xml # Generate pom.xml files
pom-xml:
	mvn -Pbuild,gen-pom-xml initialize

.PHOMY: eclipse # Generate Eclipse project files
eclipse: pom-xml
	mvn -Peclipse,build initialize de.tototec:de.tobiasroeser.eclipse-maven-plugin:0.1.1:eclipse

.PHONY: full # A full build including docker tests
full: docker-clean
	mvn -Pbuild,itest,docker install

.PHONY: light # Build but skip test executions
light:
	mvn -Pbuild -DskipTests install

.PHONY: docker-clean # Cleanup old images from docker registry
docker-clean:
	for vm in $$(docker ps -aq); do \
		docker rm -f $$vm; \
	done
	for image in $$(docker images | grep none | awk '{print $$3;}'); \
		do docker rmi -f $$image; \
	done

.PHONY: travis-prepare # Prepare travis env, e.g. pre-fetching maven (somewhat quieter)
travis-prepare:
	# Errors in the next command are ignored
	-mvn --fail-at-end dependency:resolve -Dsilent=true | grep -vi download

.PHONY: travis-build # Build the project with travis
travis-build: build

.PHONY: travis # Run a full travis build
travis: travis-prepare travis-build
{'fraction_non_alphanumeric': 0.12495587716201906, 'fraction_numerical': 0.0056477232615601836, 'mean_word_length': 3.7312186978297164, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6022459', 'n_tokens_mistral': 1067, 'n_tokens_neox': 1020, 'n_words': 336}