diff options
| author | 2019-07-09 13:49:37 +0300 | |
|---|---|---|
| committer | 2019-07-09 13:49:37 +0300 | |
| commit | 95dbad6ec12d1cd3627129af12d0ee65e6b65e3e (patch) | |
| tree | 38206728c2d5c4664d1bd2d926b08990dce89b35 /tools | |
| parent | Use paths in cache for jpm that will work on windows. (diff) | |
Remove amalg.janet dependency on os/date
When compiling Janet with `JANET_REDUCED_OS`, `os/date` will not be available which breaks the tool amalg.janet. One can check file modification time on the filesystem instead.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/amalg.janet | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/amalg.janet b/tools/amalg.janet index fee4cdde..de5f4392 100644 --- a/tools/amalg.janet +++ b/tools/amalg.janet @@ -1,10 +1,8 @@ # Creates an amalgamated janet.c # Head -(def {:year YY :month MM :month-day DD} (os/date)) (print "/* Amalgamated build - DO NOT EDIT */") -(print "/* Generated " YY "-" (inc MM) "-" (inc DD) - " with janet version " janet/version "-" janet/build " */") +(print "/* Generated from janet version " janet/version "-" janet/build " */") (print "#define JANET_BUILD \"" janet/build "\"") (print ```#define JANET_AMALG```) (print ```#include "janet.h"```) |
