<commit_before>VERSION = $(shell git describe --abbrev=0 --tags)

all: clean enUS koKR frFR deDE zhCN esES ruRU

clean:
	rm -rfv release

enUS koKR frFR deDE zhCN esES ruRU:
	@echo "===== building $@ ====="
	mkdir -p release/$@/pfQuest/db
	cp -rf compat release/$@/pfQuest/
	cp -rf img release/$@/pfQuest/
	cp -rf db/*.lua release/$@/pfQuest/db
	cp -rf db/$@ release/$@/pfQuest/db
	cp -rf browser.lua database.lua map.lua quest.lua config.lua slashcmd.lua pfQuest.toc LICENSE README.md release/$@/pfQuest/
	sed -i "s/NORELEASE/$(VERSION)/g" release/$@/pfQuest/pfQuest.toc
	cd release/$@ && zip -qr9 ../pfQuest-$(VERSION)-$@.zip pfQuest

database:
	$(MAKE) -C toolbox/ all

rebuild: database all<commit_msg>makefile: add build target for unlocalized servers<commit_after>VERSION = $(shell git describe --abbrev=0 --tags)

all: clean enUS koKR frFR deDE zhCN esES ruRU noLoc

clean:
	rm -rfv release

enUS koKR frFR deDE zhCN esES ruRU:
	@echo "===== building $@ ====="
	mkdir -p release/$@/pfQuest/db
	cp -rf compat release/$@/pfQuest/
	cp -rf img release/$@/pfQuest/
	cp -rf db/*.lua release/$@/pfQuest/db
	cp -rf db/$@ release/$@/pfQuest/db
	cp -rf browser.lua database.lua map.lua quest.lua config.lua slashcmd.lua pfQuest.toc LICENSE README.md release/$@/pfQuest/
	sed -i "s/NORELEASE/$(VERSION)/g" release/$@/pfQuest/pfQuest.toc
	cd release/$@ && zip -qr9 ../pfQuest-$(VERSION)-$@.zip pfQuest

noLoc:
	@echo "===== building $@ ====="
	mkdir -p release/$@/pfQuest/db
	cp -rf compat release/$@/pfQuest/
	cp -rf img release/$@/pfQuest/
	cp -rf db/*.lua release/$@/pfQuest/db
	cp -rf db/enUS release/$@/pfQuest/db
	mkdir -p release/$@/pfQuest/db/koKR release/$@/pfQuest/db/frFR release/$@/pfQuest/db/deDE release/$@/pfQuest/db/zhCN release/$@/pfQuest/db/esES release/$@/pfQuest/db/ruRU
	cp -rf db/koKR/zones.lua release/$@/pfQuest/db/koKR/
	cp -rf db/frFR/zones.lua release/$@/pfQuest/db/frFR/
	cp -rf db/deDE/zones.lua release/$@/pfQuest/db/deDE/
	cp -rf db/zhCN/zones.lua release/$@/pfQuest/db/zhCN/
	cp -rf db/esES/zones.lua release/$@/pfQuest/db/esES/
	cp -rf db/ruRU/zones.lua release/$@/pfQuest/db/ruRU/
	cp -rf browser.lua database.lua map.lua quest.lua config.lua slashcmd.lua pfQuest.toc LICENSE README.md release/$@/pfQuest/
	sed -i "s/NORELEASE/$(VERSION)/g" release/$@/pfQuest/pfQuest.toc
	cd release/$@ && zip -qr9 ../pfQuest-$(VERSION)-$@.zip pfQuest

database:
	$(MAKE) -C toolbox/ all

rebuild: database all
{'fraction_non_alphanumeric': 0.18159306644655385, 'fraction_numerical': 0.0020635575732562937, 'mean_word_length': 3.4477064220183484, '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': '428559', 'n_tokens_mistral': 1006, 'n_tokens_neox': 962, 'n_words': 236}