Skip to content

Commit

Permalink
prepare 0.4.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
benedekfazekas committed Apr 7, 2015
1 parent 3685d0c commit 76aeef8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Somewhat node.js & npm style dependency handling as a leiningen plugin.

**Fancy words: 'npm style dependency handling' but what is this project is really about?**

It basically makes inlining a less burdensome task. It automatically retrieves and prefixes your dependencies (both clojure source and java class files) and munges your clojure files -- mainly the namespace declaration but not only -- accordingly.
It is an inlining tool which inlines your project's dependencies at packaging time. It automatically retrieves and prefixes your dependencies (both clojure source and java class files) and munges your clojure files -- mainly the namespace declaration but not only -- accordingly.

## Prerequisites

**IMPORTANT** You need to install leiningen version **2.5.0** at least for this plugin if you want to use the built in profile (see below for explanation). Basic functionality (eg `lein source-deps`) still works though.

## Usage

Put `[thomasa/mranderson "0.4.0"]` into the `:plugins` vector of your project.clj.
Put `[thomasa/mranderson "0.4.1"]` into the `:plugins` vector of your project.clj.

Additionally you also need to mark some of the dependencies in your dependencies vector in the project's `project.clj` with `^:source-dep` meta tag. For example:

Expand All @@ -31,7 +31,7 @@ Now you are ready to run:

this retrieves dependencies and creates a deeply nested directory structure for them in `target/srcdeps` directory. It also munges all clojure source files accordingly. More over it uses [Jar Jar Links](https://code.google.com/p/jarjar/) to repackage your java class files dependencies if any.

If you don't want mranderson to repackage your java dependencies you can opt out by passing `skip-javaclass-repackage true` as a parameter to `source-deps` task.
If you don't want mranderson to repackage your java dependencies you can opt out by passing `:skip-javaclass-repackage true` as a parameter to `source-deps` task.

After that you can run your tests or your repl with:

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject thomasa/mranderson "0.5.0-SNAPSHOT"
(defproject thomasa/mranderson "0.4.1"
:description "Leiningen plugin to download and use some dependencies as source."
:url "https://github.com/benedekfazekas/mranderson"
:license {:name "Eclipse Public License"
Expand Down

0 comments on commit 76aeef8

Please sign in to comment.