<commit_before>RUSTC ?= rustc
RUSTFLAGS ?=

src_files=\
	src/rustiles.rs \
	src/gdal/mod.rs \
	src/gdal/driver.rs \
	src/gdal/dataset.rs \
	src/gdal/proj.rs \
	src/tile.rs

all: build/tile build/rustiles

build/tile: $(src_files)
	mkdir -p build
	$(RUSTC) $(RUSTFLAGS) -o build/tile src/tile.rs

build/rustiles: $(src_files)
	mkdir -p build
	$(RUSTC) $(RUSTFLAGS) -o build/rustiles src/rustiles.rs

build/testsuite: $(src_files)
	mkdir -p build
	$(RUSTC) $(RUSTFLAGS) -A dead_code --test -o build/testsuite src/rustiles.rs

check: build/testsuite
	RUSTILES_TEST_FIXTURES=`pwd`/fixtures ./build/testsuite

clean:
	rm -rf build

.PHONY: all check clean<commit_msg>don't build tile executable<commit_after>RUSTC ?= rustc
RUSTFLAGS ?=

src_files=\
	src/rustiles.rs \
	src/gdal/mod.rs \
	src/gdal/driver.rs \
	src/gdal/dataset.rs \
	src/gdal/proj.rs \
	src/tile.rs

all: build/rustiles

build/rustiles: $(src_files)
	mkdir -p build
	$(RUSTC) $(RUSTFLAGS) -o build/rustiles src/rustiles.rs

build/testsuite: $(src_files)
	mkdir -p build
	$(RUSTC) $(RUSTFLAGS) -A dead_code --test -o build/testsuite src/rustiles.rs

check: build/testsuite
	RUSTILES_TEST_FIXTURES=`pwd`/fixtures ./build/testsuite

clean:
	rm -rf build

.PHONY: all check clean
{'fraction_non_alphanumeric': 0.14401294498381878, 'fraction_numerical': 0.0, 'mean_word_length': 3.776061776061776, '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': '3411289', 'n_tokens_mistral': 536, 'n_tokens_neox': 522, 'n_words': 107}