28 lines
701 B
Makefile
Raw Normal View History

2026-01-25 04:58:39 +01:00
# retoor <retoor@molodetz.nl>
.PHONY: build tests clean debug
build:
cd projects/make && $(MAKE) -f wren_cli.make -j $$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 4)
debug:
cd projects/make && $(MAKE) -f wren_cli.make config=debug_64bit -j $$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 4)
tests: build
python3 util/test.py
2026-01-25 10:50:20 +01:00
create_merge:
wren apps/merge_all_wren.wren
2026-01-25 06:08:44 +01:00
create_docs:
wren apps/merge_docs.wren
create_training_data:
python create_training_data.py --manual-html manual.md --out-train training_data.jsonl --out-val training_data_val.jsonl
install:
cp bin/wren_cli /usr/local/bin/wren
2026-01-25 04:58:39 +01:00
clean:
cd projects/make && $(MAKE) -f wren_cli.make clean