1
0
mirror of https://github.com/janet-lang/janet synced 2024-06-26 23:23:16 +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

@ -1,4 +1,4 @@
# Copyright (c) 2018 Calvin Rose # Copyright (c) 2019 Calvin Rose
# #
# Permission is hereby granted, free of charge, to any person obtaining a copy # Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to # of this software and associated documentation files (the "Software"), to

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2018 Calvin Rose * Copyright (c) 2019 Calvin Rose
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to * of this software and associated documentation files (the "Software"), to

View File

@ -55,6 +55,11 @@
(print "/* Amalgamated build - DO NOT EDIT */") (print "/* Amalgamated build - DO NOT EDIT */")
(print "/* Generated " YY "-" (inc MM) "-" (inc DD) (print "/* Generated " YY "-" (inc MM) "-" (inc DD)
" with janet version " janet/version "-" janet/build " */") " 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 (print ```#define JANET_AMALG
#include "janet.h"```) #include "janet.h"```)