Merge pull request #1175 from zevv/quicky

Added JANET_NO_AMALG flag to Makefile
This commit is contained in:
Calvin Rose
2023-06-04 14:24:35 -05:00
committed by GitHub
2 changed files with 25 additions and 9 deletions
+5 -4
View File
@@ -4166,10 +4166,11 @@
(defn do-one-file
[fname]
(print "\n/* " fname " */")
(print "#line 0 \"" fname "\"\n")
(def source (slurp fname))
(print (string/replace-all "\r" "" source)))
(if-not (has-value? boot/args "image-only") (do
(print "\n/* " fname " */")
(print "#line 0 \"" fname "\"\n")
(def source (slurp fname))
(print (string/replace-all "\r" "" source)))))
(do-one-file feature-header)