Functions to locate and run the 'lein' command for either lein generation.
Functions to locate and run the 'lein' command for either lein generation.
(find-lein-cmd generation)
(find-lein-cmd generation memoize?)
Attempts to locate the lein command for the given command on the path. Looks for: lein, lein<generation>. If memoize? isn't provided or is true, the results are cached in ./.lein-commands.
Attempts to locate the lein command for the given command on the path. Looks for: lein, lein<generation>. If memoize? isn't provided or is true, the results are cached in ./.lein-commands.
(run-lein generation & args)
Runs lein for the given generation with args. :dir and :env options may be specified with kwargs. Returns the result from sh.
Runs lein for the given generation with args. :dir and :env options may be specified with kwargs. Returns the result from sh.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close