1
0
mirror of https://github.com/janet-lang/janet synced 2025-12-06 08:38:07 +00:00

Install cook tool when installing janet.

This commit is contained in:
Calvin Rose
2018-12-25 15:39:24 -05:00
parent 17283241ab
commit 6c8da9fe5c
3 changed files with 5 additions and 3 deletions

View File

@@ -9,14 +9,14 @@
[& args]
(print ;args)
(def res (os/shell (string ;args)))
(unless (zero? res)
(unless (zero? res)
(print "Error executing command: " ;args)
(os/exit res)))
(defn- mkdir
"Make a directory. Not safe for user code."
[path]
(if is-win
(if is-win
(shell "mkdir " path)
(shell "mkdir -p " path)))