<commit_before>user := $(shell git config user.email | sed -e "s/@/-at-/" -e "s/\\./-dot-/g")
build:
# To clean the sub-module and build the xhpast binary needed to find any new class in Docker env 
	git submodule foreach 'git clean -fX'
# TODO(ckerur): We should get rid of the below line, since this means we need to run arc liberate
# on the host as a pre-step to docker build. Figure out how to emulate host conditions on docker
# container and remove
	third_party/arcanist/bin/arc liberate third_party/phabricator/
	docker build -t google/phabricator-appengine .
	docker tag -f google/phabricator-appengine gcr.io/developer_tools_bundle/bundle-phabricator:$(user)-dev
	gcloud preview docker push gcr.io/developer_tools_bundle/bundle-phabricator:$(user)-dev

testing:
	third_party/arcanist/bin/arc liberate third_party/phabricator/
	docker build -t google/phabricator-appengine .<commit_msg>Adding git clean which I missed from my earlier commit<commit_after>user := $(shell git config user.email | sed -e "s/@/-at-/" -e "s/\\./-dot-/g")
build:
# To clean the sub-module and build the xhpast binary needed to find any new class in Docker env 
	git submodule foreach 'git clean -fX'
# TODO(ckerur): We should get rid of the below line, since this means we need to run arc liberate
# on the host as a pre-step to docker build. Figure out how to emulate host conditions on docker
# container and remove
	third_party/arcanist/bin/arc liberate third_party/phabricator/
	docker build -t google/phabricator-appengine .
	docker tag -f google/phabricator-appengine gcr.io/developer_tools_bundle/bundle-phabricator:$(user)-dev
	gcloud preview docker push gcr.io/developer_tools_bundle/bundle-phabricator:$(user)-dev

testing:
	git submodule foreach 'git clean -fX'
	third_party/arcanist/bin/arc liberate third_party/phabricator/
	docker build -t google/phabricator-appengine .
{'fraction_non_alphanumeric': 0.09251336898395722, 'fraction_numerical': 0.0, 'mean_word_length': 4.345714285714286, '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': '1228211', 'n_tokens_mistral': 620, 'n_tokens_neox': 580, 'n_words': 213}