mirror of
https://github.com/janet-lang/janet
synced 2025-09-04 20:08:04 +00:00
Add build number to amalg build.
This commit is contained in:
@@ -55,6 +55,11 @@
|
||||
(print "/* Amalgamated build - DO NOT EDIT */")
|
||||
(print "/* Generated " YY "-" (inc MM) "-" (inc DD)
|
||||
" with janet version " janet/version "-" janet/build " */")
|
||||
|
||||
# Assume the version of janet used to run this script is the same
|
||||
# as the version being generated
|
||||
(print "#define JANET_BUILD \"" janet/build "\"")
|
||||
|
||||
(print ```#define JANET_AMALG
|
||||
#include "janet.h"```)
|
||||
|
||||
|
Reference in New Issue
Block a user