Orchestrates the dependency-inlining pipeline: resolve dependencies, unzip
each artifact under target/srcdeps, move and rewrite the namespaces (via
mranderson.move), and repackage any bundled Java .class files through
jarjar. inline-deps is the Leiningen-free entry point; mranderson is the
lower-level workhorse it and the Leiningen task both call into. See
doc/design.md for the architecture.
Orchestrates the dependency-inlining pipeline: resolve dependencies, unzip each artifact under `target/srcdeps`, move and rewrite the namespaces (via `mranderson.move`), and repackage any bundled Java `.class` files through jarjar. `inline-deps` is the Leiningen-free entry point; `mranderson` is the lower-level workhorse it and the Leiningen task both call into. See doc/design.md for the architecture.
Command-line interface to MrAnderson. A thin wrapper over
mranderson.core/inline-deps so MrAnderson can be run directly, without
Leiningen - and, down the road, as a GraalVM native image (see #36).
Run it with the dependency coordinates to inline as positional arguments:
clojure -M -m mranderson.main -p com.example.inlined -s src \
org.clojure/tools.namespace:1.5.1 rewrite-clj:1.2.54
No :gen-class here on purpose: it would make MrAnderson's own plugin AOT this
namespace during the self-inlining build. The native-image build (#36) will AOT
it in its own build context instead.
Command-line interface to MrAnderson. A thin wrapper over
`mranderson.core/inline-deps` so MrAnderson can be run directly, without
Leiningen - and, down the road, as a GraalVM native image (see #36).
Run it with the dependency coordinates to inline as positional arguments:
clojure -M -m mranderson.main -p com.example.inlined -s src \
org.clojure/tools.namespace:1.5.1 rewrite-clj:1.2.54
No `:gen-class` here on purpose: it would make MrAnderson's own plugin AOT this
namespace during the self-inlining build. The native-image build (#36) will AOT
it in its own build context instead.Leiningen middleware for MrAnderson. Active only under the
plugin.mranderson/config profile (see mranderson.profiles): drops the
source-deps from :dependencies and pulls any :gen-class namespaces in the
inlined sources into :aot so they get compiled. Leiningen-only; not used by
the mranderson.core entry point.
Leiningen middleware for MrAnderson. Active only under the `plugin.mranderson/config` profile (see `mranderson.profiles`): drops the source-deps from `:dependencies` and pulls any `:gen-class` namespaces in the inlined sources into `:aot` so they get compiled. Leiningen-only; not used by the `mranderson.core` entry point.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |