<commit_before>.PHONY: clean

SRCS = 	src/js/lib/pubsubz.js \ 
		src/js/js/swipeHandler.js \
		src/js/uiModules/newGameManager.js \ 
		src/js/uiModules/submitWordManager.js \ 
		src/js/uiModules/clearWordAttemptManager.js \ 
		src/js/uiModules/letterListManager.js \ 
		src/js/uiModules/maskedWordsManager.js \
		src/js/uiModules/previousWordsManager.js \ 
		src/js/dict/json_dict.js \ 
		src/js/gameBuilder_letters.js \
		src/js/gameBuilder.js \
		src/js/wordAttemptService.js \ 
		src/js/gameService.js \ 
		src/js/uiService.js

build: $(LIBS) $(SRCS)
	mkdir -p build
	cat $(SRCS) >build/wordScramble.js
	jsmin <build/wordScramble.js >build/wordScramble-tmp.js
	cat src/config.js build/wordScramble-tmp.js >build/wordScramble-min.js
	rm build/wordScramble-tmp.js
	cp src/prod.html >build/index.html

clean:
	rm -rf build<commit_msg>fix Makefile paths and whitespace<commit_after>.PHONY: clean

SRCS = src/js/lib/pubsubz.js \
       src/js/swipeHandler.js \
       src/js/uiModules/newGameManager.js \
       src/js/uiModules/submitWordManager.js \
       src/js/uiModules/clearWordAttemptManager.js \
       src/js/uiModules/letterListManager.js \
       src/js/uiModules/maskedWordsManager.js \
       src/js/uiModules/previousWordsManager.js \
       src/js/dict/json_dict.js \
       src/js/gameBuilder/gameBuilder_letters.js \
       src/js/gameBuilder/gameBuilder.js \
       src/js/wordAttemptService.js \
       src/js/gameService.js \
       src/js/uiService.js

build: $(SRCS)
	mkdir -p build
	cat $(SRCS) >build/wordScramble.js
	jsmin <build/wordScramble.js >build/wordScramble-min.js
	cp src/config.js build/config.js
	cp src/prod.html build/index.html

clean:
	rm -rf build
{'fraction_non_alphanumeric': 0.12388855957320688, 'fraction_numerical': 0.0, 'mean_word_length': 2.9347319347319347, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4747802', 'n_tokens_mistral': 675, 'n_tokens_neox': 643, 'n_words': 83}