Skip to content

Instantly share code, notes, and snippets.

@indraniel
Created Dec 3, 2018
Embed
What would you like to do?
clj tools version of `lein-try`
#!/bin/sh
# tools-deps equivalent of `lein-try`
#
# Additionally see:
#
# https://github.com/hagmonk/find-deps -- what user/find-deps links to
# https://github.com/juxt/edge/blob/master/main/aliases/rebel/edge/rebel/main.clj
# https://clojars.org/seancorfield/depstar -- clj-based uberjarrer
deps="{}"
if [ "$#" -gt 0 ]; then
deps="$(clojure -A:user/find-deps "$@")"
fi
clojure -A:user/rebel -Sdeps "$deps"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment