Building the Clojure Way
Clojure Java
Latest commit 24c9502 Jul 8, 2011 @stuarthalloway Merge pull request #2 from technomancy/master
Packaging as 1.0.0
Failed to load latest commit information.
examples updated to match changes to test-is/are Jan 25, 2009
src/lancet add nested elements for "exec" and "manifest" tasks in a appropriate … Jun 22, 2011
test/lancet/test Rearrange as lein project. Mar 7, 2011
.gitignore Rearrange as lein project. Mar 7, 2011
README initial commit Nov 7, 2008


Dependency-based builds, Clojure Style, with optional Ant underneath
Stuart Halloway
(stu at thinkrelevance dot com)

This is early days. To try it out:

(1) Get the root directory of lancet on your CLASSPATH

(2) Launch Clojure REPL from the examples directory

(3) (load-file "build-clojure.clj")

Targets are functions, so you can call them. They will run only once, however. 
Targets track whether they have been run via a reference in their metadata.
If you read build-clojure.clj and then read the REPL session below you will
have an idea how it all fits together:

user=> (load-file "build-clojure.clj")
#=(var user/jar)
user=> (jar)
    [mkdir] Created dir: /Users/stuart/relevance/personal/tantalus/lancet/examples/classes
    [javac] Compiling 1 source file to classes
      [jar] Building jar: /Users/stuart/relevance/personal/tantalus/lancet/examples/clojure.jar
user=> (jar)
user=> (target-run? jar)