chore: move core.wren source from builtin/ to src/vm/ and update build paths

- Remove builtin/README.md explaining the .wren to .wren.inc conversion process
- Update src/README.md to document new aux/ directory for optional modules
- Fix generated file headers in wren_core.wren.inc and wren_aux_random.wren.inc to point to new source locations
- Update Makefile pattern rule to look for .wren sources in src/vm/ instead of builtin/
- Adjust wren_to_c_string.py to strip both "aux_" and "wren_" prefixes when deriving module names
This commit is contained in:
Bob Nystrom
2015-10-18 05:17:10 +00:00
parent 88a4e0a4e9
commit c03d86c28b
7 changed files with 22 additions and 25 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ $(LIBUV): $(LIBUV_DIR)/build/gyp/gyp util/libuv.py
src/aux/wren_aux_%.wren.inc: src/aux/wren_aux_%.wren util/wren_to_c_string.py
@ ./util/wren_to_c_string.py $@ $<
src/vm/wren_%.wren.inc: builtin/%.wren util/wren_to_c_string.py
src/vm/wren_%.wren.inc: src/vm/wren_%.wren util/wren_to_c_string.py
@ ./util/wren_to_c_string.py $@ $<
src/module/%.wren.inc: src/module/%.wren util/wren_to_c_string.py