<commit_before>GAE_PATH=$(GAE_HOME)/
GAE_DIR=..
GAE_LIB=site-packages
GAE_LIB_DIR=$(GAE_DIR)/$(GAE_LIB)
GAE_LIB_PACKAGES_DIR=$(GAE_LIB_DIR)/packages
TEMPLATE_DIR_PATH=templates
TEMPLATES_COMPILED_ZIP=tap_templates_compiled.zip
TEMPLATES_COMPILED_ZIP_PATH=$(GAE_LIB_DIR)/$(TEMPLATES_COMPILED_ZIP)
JS_DIR=static/js
NODE_MODULES_BASE=../../node_modules
BIN_COFFEE=$(NODE_MODULES_BASE)/coffee-script/bin/coffee
BIN_UGLIFYJS=$(NODE_MODULES_BASE)/uglify-js/bin/uglifyjs
TEMPLATE_DIR=
BIN_PHANTOMJS=$(HOME)/local/bin/phantomjs
BIN_HAML=$(firstword $(HAML_PATH) haml)
VERSION_HTML=$(TEMPLATE_DIR_PATH)/tap/version.html
VERSION=$(shell git describe --tags --dirty=+)_$(shell git log -n1 --pretty=format:%ad --date=short)
RELEASE_ZIP=gaetap-$(VERSION).zip
RELEASE_FILES=$(sort LICENSE $(wildcard Makefile.*) $(wildcard *.py) $(HTML) $(MOBHTML) $(filter-out static/js/i18n%,$(MINJS) $(JS)) $(TEMPLATE_DIR_PATH)/tap/ads/analytics.html $(VERSION_HTML) endpoints.patch)

.SUFFIXES: .haml .html
.haml.html:
	$(BIN_HAML) -f html5 -t ugly $< $@
HAML = $(wildcard $(TEMPLATE_DIR_PATH)/tap/*.haml)
HTML = $(HAML:.haml=.html)

.SUFFIXES: .haml .xhtml
.haml.xhtml:
	$(BIN_HAML) -f xhtml -t ugly $< $@<commit_msg>checking haml path<commit_after>GAE_PATH=$(GAE_HOME)/
GAE_DIR=..
GAE_LIB=site-packages
GAE_LIB_DIR=$(GAE_DIR)/$(GAE_LIB)
GAE_LIB_PACKAGES_DIR=$(GAE_LIB_DIR)/packages
TEMPLATE_DIR_PATH=templates
TEMPLATES_COMPILED_ZIP=tap_templates_compiled.zip
TEMPLATES_COMPILED_ZIP_PATH=$(GAE_LIB_DIR)/$(TEMPLATES_COMPILED_ZIP)
JS_DIR=static/js
NODE_MODULES_BASE=../../node_modules
BIN_COFFEE=$(NODE_MODULES_BASE)/coffee-script/bin/coffee
BIN_UGLIFYJS=$(NODE_MODULES_BASE)/uglify-js/bin/uglifyjs
TEMPLATE_DIR=
BIN_PHANTOMJS=$(HOME)/local/bin/phantomjs
BIN_HAML=$(firstword $(HAML_PATH) haml)
VERSION_HTML=$(TEMPLATE_DIR_PATH)/tap/version.html
VERSION=$(shell git describe --tags --dirty=+)_$(shell git log -n1 --pretty=format:%ad --date=short)
RELEASE_ZIP=gaetap-$(VERSION).zip
RELEASE_FILES=$(sort LICENSE $(wildcard Makefile.*) $(wildcard *.py) $(HTML) $(MOBHTML) $(filter-out static/js/i18n%,$(MINJS) $(JS)) $(TEMPLATE_DIR_PATH)/tap/ads/analytics.html $(VERSION_HTML) endpoints.patch)

.SUFFIXES: .haml .html
.haml.html:
	@if which $(BIN_HAML) >/dev/null; then\
		echo $(BIN_HAML) -f html5 -t ugly $< $@;\
		$(BIN_HAML) -f html5 -t ugly $< $@;\
	else\
		echo haml is not exists: no build $<;\
	fi
HAML = $(wildcard $(TEMPLATE_DIR_PATH)/tap/*.haml)
HTML = $(HAML:.haml=.html)

.SUFFIXES: .haml .xhtml
.haml.xhtml:
	@if which $(BIN_HAML) >/dev/null; then\
		echo $(BIN_HAML) -f xhtml -t ugly $< $@;\
		$(BIN_HAML) -f xhtml -t ugly $< $@;\
	else\
		echo haml is not exists: no build $<;\
	fi
{'fraction_non_alphanumeric': 0.17697787776527935, 'fraction_numerical': 0.003374578177727784, 'mean_word_length': 6.191374663072776, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 5, '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': '3168673', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1103, 'n_words': 174}