mirror of
https://github.com/janet-lang/janet
synced 2024-11-17 22:24:49 +00:00
13 lines
356 B
Clojure
13 lines
356 B
Clojure
# Creates an amalgamated janet.c
|
|
|
|
# Head
|
|
(print "/* Amalgamated build - DO NOT EDIT */")
|
|
(print "/* Generated from janet version " janet/version "-" janet/build " */")
|
|
(print "#define JANET_BUILD \"" janet/build "\"")
|
|
(print ```#define JANET_AMALG```)
|
|
(print ```#include "janet.h"```)
|
|
|
|
# Body
|
|
(each path (tuple/slice (dyn :args) 1)
|
|
(print (slurp path)))
|