Skip to content

Commit

Permalink
v0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Zheng committed Feb 10, 2015
1 parent 5555fe2 commit 2a123c7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ Repack your project for deployment and distribution

### Whats New

#### 0.2.9

- Fix for non-removal of :source-map key

#### 0.2.8

- Using im.chit/korra "0.1.3"
- Using im.chit/vinyasa "0.3.2" instead of korra
- Fix for hypenated namespaces

#### 0.2.7

Expand Down Expand Up @@ -111,7 +116,7 @@ It's quite a difficult task to attempt to split a big project into smaller piece

To be repacked, a project requires either a map or a vector of maps defining the code to be distributed under the `:repack` key in it's `project.clj`. We can look at options for [repack.advance](https://github.com/zcaudate/lein-repack/tree/master/example/repack.advance/project.clj) and how one project will get sliced up into multiple projects. The entire `:repack` options are shown below, with labels (#1 to #4) showing where relevent files are kept. In this case, we have a mixed source project with `.clj`, `.cljs`, `.java` and resources all split into their various directories. The final result is shown in the diagram below:

![Repack Results](https://www.github.com/zcaudate/lein-repack/master/tree/diagram/repack-diagram.png/raw)
![Repack Results](https://github.com/zcaudate/lein-repack/raw/master/diagram/repack-diagram.png)

The configuration options that achieved such a result are shown below:

Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject lein-repack "0.2.8"
(defproject lein-repack "0.2.9"
:description "Repack your project for deployment"
:url "https://www.github.com/zcaudate/lein-repack"
:license {:name "The MIT License"
Expand Down
2 changes: 0 additions & 2 deletions src/leiningen/repack/split/rewrite.clj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
(fn [x] (->> manifest :root :dependencies (vec))))
(add-project-key :scm (:scm project))
(remove-project-key :profiles)
(remove-project-key :source-paths)
(remove-project-key :repack)
z/print-root
with-out-str))
Expand All @@ -77,7 +76,6 @@
(replace-project-value :dependencies
(-> manifest :branches (get name) :dependencies))
(remove-project-key :profiles)
(remove-project-key :source-paths)
(remove-project-key :repack)
z/print-root
with-out-str))

0 comments on commit 2a123c7

Please sign in to comment.