mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
Make wren.mk log wren_to_c_string.
Thanks, Michel!
This commit is contained in:
@ -206,12 +206,15 @@ $(LIBUV): $(LIBUV_DIR)/build/gyp/gyp util/libuv.py
|
|||||||
|
|
||||||
# Wren modules that get compiled into the binary as C strings.
|
# Wren modules that get compiled into the binary as C strings.
|
||||||
src/optional/wren_opt_%.wren.inc: src/optional/wren_opt_%.wren util/wren_to_c_string.py
|
src/optional/wren_opt_%.wren.inc: src/optional/wren_opt_%.wren util/wren_to_c_string.py
|
||||||
|
@ printf "%10s %-30s %s\n" str $<
|
||||||
@ ./util/wren_to_c_string.py $@ $<
|
@ ./util/wren_to_c_string.py $@ $<
|
||||||
|
|
||||||
src/vm/wren_%.wren.inc: src/vm/wren_%.wren util/wren_to_c_string.py
|
src/vm/wren_%.wren.inc: src/vm/wren_%.wren util/wren_to_c_string.py
|
||||||
|
@ printf "%10s %-30s %s\n" str $<
|
||||||
@ ./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
|
src/module/%.wren.inc: src/module/%.wren util/wren_to_c_string.py
|
||||||
|
@ printf "%10s %-30s %s\n" str $<
|
||||||
@ ./util/wren_to_c_string.py $@ $<
|
@ ./util/wren_to_c_string.py $@ $<
|
||||||
|
|
||||||
.PHONY: all cli test vm
|
.PHONY: all cli test vm
|
||||||
|
|||||||
@ -50,7 +50,5 @@ def main():
|
|||||||
with open(args.output, "w") as f:
|
with open(args.output, "w") as f:
|
||||||
f.write(c_source)
|
f.write(c_source)
|
||||||
|
|
||||||
print(" str " + args.input)
|
|
||||||
|
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user