1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-19 23:24:49 +00:00

Merge pull request #329 from pepe/master

Fix typo flie
This commit is contained in:
Calvin Rose 2020-03-31 09:17:39 -05:00 committed by GitHub
commit 47f246ba66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2586,22 +2586,22 @@
(print "#define JANET_BUILD \"" janet/build "\"")
(print ```#define JANET_AMALG```)
(defn do-one-flie
(defn do-one-file
[fname]
(print "\n/* " fname " */")
(print "#line 0 \"" fname "\"\n")
(def source (slurp fname))
(print (string/replace-all "\r" "" source)))
(do-one-flie feature-header)
(do-one-file feature-header)
(print ```#include "janet.h"```)
(each h local-headers
(do-one-flie h))
(do-one-file h))
(each s core-sources
(do-one-flie s))
(do-one-file s))
# Create C source file that contains images a uint8_t buffer. This
# can be compiled and linked statically into the main janet library