<commit_before>PLOVR_JAR=bin/plovr-4b3caf2b7d84.jar
SRC = $(filter-out $(TARGETS),$(shell find externs src/ol -name \*.js))
TARGETS = src/ol/ol.js
comma := ,
empty :=
space := $(empty) $(empty)

.PHONY: all
all: build webgl-debug.js

.PHONY: build
build: ol.js ol-skeleton.js ol-skeleton-debug.js ol-skeleton-dom.js ol-skeleton-webgl.js

ol.js: $(PLOVR_JAR) $(SRC) src/ol/ol.js
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
	@echo $@ "  compressed:" $(shell gzip -9 -c <$@ | wc -c) bytes

ol-skeleton.js: $(PLOVR_JAR) $(SRC)
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
	@echo $@ "  compressed:" $(shell gzip -9 -c <$@ | wc -c) bytes

ol-skeleton-debug.js: $(PLOVR_JAR) $(SRC)
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
	@echo $@ "  compressed:" $(shell gzip -9 -c <$@ | wc -c) bytes

ol-skeleton-dom.js: $(PLOVR_JAR) $(SRC)
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
	@echo $@ "  compressed:" $(shell gzip -9 -c <$@ | wc -c) bytes

ol-skeleton-webgl.js: $(PLOVR_JAR) $(SRC)
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes<commit_msg>Add missing dependencies<commit_after>PLOVR_JAR=bin/plovr-4b3caf2b7d84.jar
SRC = $(filter-out $(TARGETS),$(shell find externs src/ol -name \*.js))
TARGETS = src/ol/ol.js
comma := ,
empty :=
space := $(empty) $(empty)

.PHONY: all
all: build webgl-debug.js

.PHONY: build
build: ol.js ol-skeleton.js ol-skeleton-debug.js ol-skeleton-dom.js ol-skeleton-webgl.js

ol.js: $(PLOVR_JAR) $(SRC) src/ol/ol.js
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
	@echo $@ "  compressed:" $(shell gzip -9 -c <$@ | wc -c) bytes

ol-skeleton.js: $(PLOVR_JAR) $(SRC) skeleton.js
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
	@echo $@ "  compressed:" $(shell gzip -9 -c <$@ | wc -c) bytes

ol-skeleton-debug.js: $(PLOVR_JAR) $(SRC) skeleton.js
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
	@echo $@ "  compressed:" $(shell gzip -9 -c <$@ | wc -c) bytes

ol-skeleton-dom.js: $(PLOVR_JAR) $(SRC) skeleton.js
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
	@echo $@ "  compressed:" $(shell gzip -9 -c <$@ | wc -c) bytes

ol-skeleton-webgl.js: $(PLOVR_JAR) $(SRC) skeleton.js
	java -jar $(PLOVR_JAR) build $(basename $@).json >$@
	@echo $@ "uncompressed:" $(shell wc -c <$@) bytes
{'fraction_non_alphanumeric': 0.22515584891822515, 'fraction_numerical': 0.007334066740007334, 'mean_word_length': 3.9330922242314648, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 13, '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': '1125014', 'n_tokens_mistral': 1233, 'n_tokens_neox': 1198, 'n_words': 287}