Skip to content

Commit

Permalink
More loggin
Browse files Browse the repository at this point in the history
  • Loading branch information
eval committed Mar 1, 2024
1 parent 9d3be14 commit 2e7b1b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/eval/deps_try.clj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
(def init-cp (get-classpath))

(defn- run-clojure [opts & args]
(prn ::run-clojure :opts opts :args args)
(let [[opts args] (if (map? opts) [opts args] [nil (cons opts args)])]
(fs/with-temp-dir [tmp {}]
(apply p/sh (merge {:dir (str tmp)} opts)
Expand Down Expand Up @@ -153,7 +154,7 @@
recipe-location (into (if ns-only
["--recipe-ns" recipe-location]
["--recipe" recipe-location])))]
(apply p/exec cmd))))
(apply p/exec (doto cmd prn)))))

(defn- recipe-manifest-contents [{:keys [refresh] :as _cli-opts}]
(let [remote-manifest-file "https://raw.githubusercontent.com/eval/deps-try/master/recipes/manifest.edn"
Expand Down

0 comments on commit 2e7b1b2

Please sign in to comment.