From fc931d8747bb413a9d8052e20d534b2dd4e0197a Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Sat, 14 Nov 2009 15:06:21 -0800 Subject: [PATCH] Added a note about bootstrapping. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 263a1e7f..7391d63e 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,21 @@ all of them AOT'd as well as a :main namespace for building executable jars. **Q:** What about Windows? **A:** Patches welcome. +## Hacking + +Working on the Leiningen codebase has a few unique challenges since +there's a bit of a chicken-and-egg bootstrap problem. To go from a +clean checkout to a working environment, the following steps are +necessary: + +0. Place bin/lein on your $PATH somewhere. +1. Do a self-install of leiningen (from outside the checkout tree). +2. Place ~/.leiningen.jar in lib. +3. Invoke "lein compile" followed by "lein deps". +4. Remove .leiningen.jar from lib. +5. Invoke "lein uberjar", and place the jar in ~/.leiningen.jar for + future use. + ## License Copyright (C) 2009 Phil Hagelberg