<commit_before># Makefile to simplify some common AppEngine actions.
# Use 'make help' for a list of commands.

DEV_APPSERVER=	dev_appserver.py
APPCFG=	appcfg.py

default:
	@echo "Use 'make help' to see available commands."

help:
	@echo "Available commands:"
	@sed -n '/^[a-zA-Z0-9_.]*:/s/:.*//p' <Makefile | sort

serve:
	$(DEV_APPSERVER) .

serve_remote:
	$(DEV_APPSERVER) --address 0.0.0.0 .

serve_email:
	$(DEV_APPSERVER) --enable_sendmail .

serve_remote_email:
	$(DEV_APPSERVER) --enable_sendmail --address 0.0.0.0 .

update:
	@echo -n "This is Rietveld r" > templates/live_revision.html
	@svn info | grep '^Revision' | sed -e 's/Revision: *//' >> \
		templates/live_revision.html
	$(APPCFG) update .<commit_msg>Don't use echo -n, not all systems support it. :-( Combine grep and sed in one command.<commit_after># Makefile to simplify some common AppEngine actions.
# Use 'make help' for a list of commands.

DEV_APPSERVER=	dev_appserver.py
APPCFG=	appcfg.py

default:
	@echo "Use 'make help' to see available commands."

help:
	@echo "Available commands:"
	@sed -n '/^[a-zA-Z0-9_.]*:/s/:.*//p' <Makefile | sort

serve:
	$(DEV_APPSERVER) .

serve_remote:
	$(DEV_APPSERVER) --address 0.0.0.0 .

serve_email:
	$(DEV_APPSERVER) --enable_sendmail .

serve_remote_email:
	$(DEV_APPSERVER) --enable_sendmail --address 0.0.0.0 .

update:
	@echo "This is Rietveld r`svn info | sed -n 's/^Revision: *//p'`" \
		>templates/live_revision.html
	$(APPCFG) update .
{'fraction_non_alphanumeric': 0.15547945205479452, 'fraction_numerical': 0.0136986301369863, 'mean_word_length': 3.8217821782178216, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '5333078', 'n_tokens_mistral': 607, 'n_tokens_neox': 585, 'n_words': 151}