<commit_before># Compile freedom.js using the closure service.

SOURCES = src/util.js src/hub.js src/apis.js src/app*.js src/channel.js src/proxy.js src/proxy/*.js providers/*.js src/freedom.js interface/*.js src/managerlink.js

all: freedom.js

freedom.js: freedom.min.js src/util/preamble.js src/util/postamble.js
	cat src/util/preamble.js freedom.min.js src/util/postamble.js > freedom.js

freedom.min.js: $(SOURCES)
ifeq "$(LOCAL)" 'yes'
	cat $(SOURCES) > $@
else
	python tools/build.py $(MAKEFLAGS) -o $@ $(SOURCES)
endif

demo: freedom.js
	python -m SimpleHTTPServer

clean:
	rm freedom.js
	rm freedom.min.js<commit_msg>makefile shouldn't bother with minification<commit_after># Compile freedom.js using the closure service.

SOURCES = src/util.js src/hub.js src/apis.js src/app*.js src/channel.js src/proxy.js src/proxy/*.js providers/*.js src/freedom.js interface/*.js src/managerlink.js

all: freedom.js

freedom.js: $(SOURCES) src/util/preamble.js src/util/postamble.js
	cat src/util/preamble.js $(SOURCES) src/util/postamble.js > $@

demo: freedom.js
	python -m SimpleHTTPServer

clean:
	rm freedom.js
	rm freedom.min.js
{'fraction_non_alphanumeric': 0.14146772767462423, 'fraction_numerical': 0.0, 'mean_word_length': 4.076233183856503, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '6353744', 'n_tokens_mistral': 438, 'n_tokens_neox': 415, 'n_words': 96}