babashka/test-resources/setup.clj

17 lines
310 B
Clojure
Raw Permalink Normal View History

2021-03-16 21:01:30 +00:00
(defn eval-plus [& args]
(apply + (map (fn [i]
(Integer/parseInt i))
*command-line-args*)))
(defn tree []
(babashka.deps/clojure ["-Stree"]))
(defn all [& args]
(apply eval-plus args)
(tree))
(defn bash [& args]
(babashka.process/process (into ["bash"] args)))