1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00

Macro hack for meson-min build.

This commit is contained in:
Calvin Rose 2023-06-03 14:22:16 -05:00
parent 7d48b75f81
commit e4bf27b01c

View File

@ -3881,6 +3881,9 @@
(defdyn *profilepath* (defdyn *profilepath*
"Path to profile file loaded when starting up the repl.") "Path to profile file loaded when starting up the repl.")
(compwhen (not (dyn 'os/isatty))
(defmacro (os/isatty) [&] true))
(defn cli-main (defn cli-main
`Entrance for the Janet CLI tool. Call this function with the command line `Entrance for the Janet CLI tool. Call this function with the command line
arguments as an array or tuple of strings to invoke the CLI interface.` arguments as an array or tuple of strings to invoke the CLI interface.`