1
0
mirror of https://github.com/janet-lang/janet synced 2024-10-01 16:30:40 +00:00

Allow passing configs to bundle reinstall.

This commit is contained in:
Calvin Rose 2024-05-31 19:17:51 -05:00
parent f4fd481415
commit e37575e763

View File

@ -4336,9 +4336,9 @@
(defn bundle/update-all
"Reinstall all bundles"
[]
(each bundle (bundle/list)
(bundle/reinstall bundle))))
[&keys configs]
(each bundle (bundle/topolist)
(bundle/reinstall bundle ;(kvs configs)))))
###
###
@ -4700,9 +4700,8 @@
(each s core-sources
(do-one-file s))
# Create C source file that contains images a uint8_t buffer. This
# can be compiled and linked statically into the main janet library
# and example client.
# Create C source file that contains the boot image in a uint8_t buffer. This
# can be compiled and linked statically into the main janet library and client
(print "static const unsigned char janet_core_image_bytes[] = {")
(loop [line :in (partition 16 image)]
(prin " ")