<commit_before>Q = &> /dev/null

all: 404.html index.html game/index.html
404.html: 404.css
index.html: index.css index.js
game/index.html: game/index.css game/index.js
game/index.js: \
	game/sprite.ts \
	game/enemy.ts \
	game/player.ts \
	game/bullet.ts \
	game/canvas.ts \
	game/game.ts

%.html: %.pug head.pug
	pug -sb . --doctype 'html' $<

%.css: %.styl
	stylus -u 'autoprefixer-stylus' -c $< $(Q)

%.js: %.ts
	tsc --removeComments $<
	@grep -qE 'require\(' $@ && \
		echo 'browserify -o $@ $@' && \
		browserify -o $@.js $@ && \
		mv $@.js $@;:
	uglifyjs --screw-ie8 -cemo $@ $@

clean:
	find . \( -name '*.html' -o -name '*.css' -o -name '*.js' \) -delete

test:
	@open -g 'http://localhost:8080'
	@ruby -run -e httpd $(Q)

deploy:
	git checkout -q master
	git push -q origin master
	@$(MAKE) all
	surge . $(Q)

.PHONY: all clean test deploy
<commit_msg>Makefile: uglifyjs quietly<commit_after>Q = &> /dev/null

all: 404.html index.html game/index.html
404.html: 404.css
index.html: index.css index.js
game/index.html: game/index.css game/index.js
game/index.js: \
	game/sprite.ts \
	game/enemy.ts \
	game/player.ts \
	game/bullet.ts \
	game/canvas.ts \
	game/game.ts

%.html: %.pug head.pug
	pug -sb . --doctype 'html' $<

%.css: %.styl
	stylus -u 'autoprefixer-stylus' -c $< $(Q)

%.js: %.ts
	tsc --removeComments $<
	@grep -qE 'require\(' $@ && \
		echo 'browserify -o $@ $@' && \
		browserify -o $@.js $@ && \
		mv $@.js $@;:
	uglifyjs --screw-ie8 -cemo $@ $@ $(Q)

clean:
	find . \( -name '*.html' -o -name '*.css' -o -name '*.js' \) -delete

test:
	@open -g 'http://localhost:8080'
	@ruby -run -e httpd $(Q)

deploy:
	git checkout -q master
	git push -q origin master
	@$(MAKE) all
	surge . $(Q)

.PHONY: all clean test deploy

{'fraction_non_alphanumeric': 0.21264367816091953, 'fraction_numerical': 0.016091954022988506, 'mean_word_length': 2.597107438016529, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '149508', 'n_tokens_mistral': 821, 'n_tokens_neox': 758, 'n_words': 187}