stuarthalloway / lancet
- Source
- Commits
- Network (5)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
506ad5e
commit 506ad5ed1cc34b52e52f100999741ba6532fdf3f
tree cd34dc64ca74e472acae1a33ec5a2310214c6bdc
parent b5f9a461693b8300fd50542305183a7a2699ea68
tree cd34dc64ca74e472acae1a33ec5a2310214c6bdc
parent b5f9a461693b8300fd50542305183a7a2699ea68
lancet /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Jan 26 18:01:07 -0800 2009 | |
| |
LICENSE | Sun Apr 19 20:49:28 -0700 2009 | |
| |
MANIFEST.MF | Mon Jan 26 11:26:35 -0800 2009 | |
| |
README | Fri Nov 07 07:57:29 -0800 2008 | |
| |
bin/ | Wed Apr 01 10:36:15 -0700 2009 | |
| |
bootstrap.clj | Mon Jan 26 18:01:07 -0800 2009 | |
| |
build.clj | Mon Jan 26 18:01:07 -0800 2009 | |
| |
epl-v10.html | Mon Jan 26 18:01:07 -0800 2009 | |
| |
examples/ | Sun Jan 25 08:03:24 -0800 2009 | |
| |
lancet.clj | Mon Jan 26 18:01:07 -0800 2009 | |
| |
lancet/ | Mon Jan 26 18:01:07 -0800 2009 | |
| |
lib/ | Mon Jan 26 18:01:07 -0800 2009 | |
| |
licenses/ | Mon Jan 26 18:01:07 -0800 2009 |
README
Lancet
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
true
user=> (jar)
true
user=> (target-run? jar)
true
