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:
parent
7d48b75f81
commit
e4bf27b01c
@ -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.`
|
||||||
|
Loading…
Reference in New Issue
Block a user