1
0
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:
Calvin Rose
2019-01-24 00:26:57 -05:00
parent 611543c48b
commit 00301ad26b
3 changed files with 7 additions and 2 deletions

View File

@@ -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"```)