Permalink
Browse files

v5

  • Loading branch information...
1 parent 157aed8 commit f7b5bd41ad37f77dde3bef953c46cb7887d68a91 @technomancy technomancy committed Aug 10, 2012
Showing with 9 additions and 9 deletions.
  1. +2 −2 Changes.md
  2. +7 −7 README.md
View
@@ -1,14 +1,14 @@
# History of Changes
-## Version 5 - ???
+## Version 5 - 2012-08-09
* Run [clean-m2](https://github.com/technomancy/lein-clean-m2) task to avoid unbounded cache growth.
* Use S3 mirror with Leiningen 2.
* Run bin/build if present instead of default lein invocation.
* Support Leiningen 1.x and 2.x in the same branch.
Set :min-lein-version "2.0.0" to trigger Leiningen 2.
-## Version 4 - 20-12-03-27
+## Version 4 - 2012-03-27
* Update to Leiningen 1.7.1.
* Fix a bug where the cache wouldn't be used.
View
@@ -67,20 +67,18 @@ dependency fetching from S3; if you place a `:production` profile in
your project.clj you should do the same:
```clj
-{:production {:misc "configuration"
- :mirrors {#"central|clojars"
- "http://s3pository.herokuapp.com/clojure"}}}
+ :production {:misc "configuration"
+ :mirrors {#"central|clojars"
+ "http://s3pository.herokuapp.com/clojure"}}
```
-You can reduce memory consumption by using the `trampoline` task in
+You should reduce memory consumption by using the `trampoline` task in
your Procfile. This will cause Leiningen to calculate the classpath
and code to run for your project, then exit and execute your project's
JVM:
web: lein trampoline with-profile production run -m myapp.web
-By default
-
## Hacking
To change this buildpack, fork it on GitHub. Push up changes to your
@@ -103,10 +101,12 @@ Open `bin/compile` in your editor, and replace the block labeled
fi
Commit and push the changes to your buildpack to your GitHub fork,
-then push your sample app to Heroku to test. You should see:
+then push your sample app to Heroku to test. The output should include:
-----> Generating uberjar with Leiningen:
+If it's something other users would find useful, pull requests are welcome.
+
## Troubleshooting
To see what the buildpack has produced, do `heroku run bash` and you

0 comments on commit f7b5bd4

Please sign in to comment.