feat: add Makefile targets for docs generation and training data creation
Introduce three new Makefile targets: `create_docs` to merge HTML manual files into a single markdown document using a new wren script, `create_training_data` to generate JSONL training and validation datasets from the manual, and `install` to copy the wren_cli binary to /usr/local/bin.
This commit is contained in:
@@ -11,5 +11,14 @@ debug:
|
||||
tests: build
|
||||
python3 util/test.py
|
||||
|
||||
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
|
||||
|
||||
clean:
|
||||
cd projects/make && $(MAKE) -f wren_cli.make clean
|
||||
|
||||
Reference in New Issue
Block a user