-
-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Description
Question
Can I compile a clojure script, with the boot shebang, and use the binary executable instead of running the start boilerplate evertime?
To Reproduce
create a file example.clj,
#!/usr/bin/env boot
(defn -main [& args]
(println (str "Hello "
(reduce str (map #(str % ", ") args)))))Example call,
chmod +x ./example.clj
./example.clj "Peter" "Julian" "Mary"Outputs:
Hello Peter, Julian, Mary, Expected behavior
Get an executable that doesn't take 5 seconds to do the same output,
- with Clojure.
- without a project folder structure.
Desktop (please complete the following information):
- OS: Artix Linux
Metadata
Metadata
Assignees
Labels
No labels