<commit_before>
REPO := $(shell cd ..; pwd)

CHARMS=tor-relay tor-hidden tor-bridge

all: $(CHARMS:%=$(REPO)/trusty/%)

$(REPO)/trusty/%:
	JUJU_REPOSITORY=$(REPO) charm build $*

clean:
	$(RM) -r $(CHARMS:%=$(REPO)/trusty/%)

.PHONY: all clean
<commit_msg>Add upload and publish targets.<commit_after>
REPO := $(shell cd ..; pwd)

CHARMS=tor-relay tor-hidden tor-bridge

all: $(CHARMS:%=$(REPO)/trusty/%)

upload: $(CHARMS:%=upload-%)

upload-%:
	charm2 upload $(REPO)/trusty/$* cs:~cmars/trusty/$*

publish: $(CHARMS:%=publish-%)

publish-%:
	charm2 publish cs:~cmars/trusty/$*

$(REPO)/trusty/%:
	JUJU_REPOSITORY=$(REPO) charm build $*

clean:
	$(RM) -r $(CHARMS:%=$(REPO)/trusty/%)

.PHONY: all clean upload publish $(CHARMS:%=upload-%) $(CHARMS:%=publish-%)

{'fraction_non_alphanumeric': 0.23622047244094488, 'fraction_numerical': 0.0026246719160104987, 'mean_word_length': 4.9147286821705425, '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': '4161991', 'n_tokens_mistral': 332, 'n_tokens_neox': 326, 'n_words': 63}