<commit_before>clean:
	sudo rm -rf ./.gradle/ ./build ./autobahn/build ./demo-gallery/build/

build_netty:
	time docker build \
		-t crossbario/autobahn-java:netty \
		-f ./docker/Dockerfile.netty .<commit_msg>Add netty demo target to Makefile (#175)<commit_after>clean:
	sudo rm -rf ./.gradle/ ./build ./autobahn/build ./demo-gallery/build/

build_netty:
	time docker build \
		-t crossbario/autobahn-java:netty \
		-f ./docker/Dockerfile.netty .

demo_wamp_netty:
	docker run -v $(shell pwd):/workspace \
		-it --rm crossbario/autobahn-java:netty /bin/bash -c \
                "gradle installDist -PbuildPlatform=netty && \
		demo-gallery/build/install/demo-gallery/bin/demo-gallery \
                ws://$(shell docker inspect --format '{{ .NetworkSettings.IPAddress }}' crossbar):8080/ws"
{'fraction_non_alphanumeric': 0.14987405541561713, 'fraction_numerical': 0.008816120906801008, 'mean_word_length': 2.8780487804878048, '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': '6353547', 'n_tokens_mistral': 313, 'n_tokens_neox': 279, 'n_words': 59}