|
Last change
on this file was
14504,
checked in by Mark Evenson, 12 years ago
|
|
Promote ABCL-ASDF:ENSURE-MVN-VERSION as primary API that Maven can be executed.
Returns the found (MAJOR MINOR PATCH) as the second value.
Adding support for test framework (use :RT).
|
|
File size:
641 bytes
|
| Line | |
|---|
| 1 | #| |
|---|
| 2 | (abcl-asdf:resolve-dependencies "log4j" "log4j") |
|---|
| 3 | |
|---|
| 4 | (abcl-asdf:resolve-dependencies "org.armedbear.lisp" "abcl") |
|---|
| 5 | |
|---|
| 6 | |# |
|---|
| 7 | |
|---|
| 8 | ; TODO figure out what sort of test framework we can hook in. Probably ABCL-RT |
|---|
| 9 | |
|---|
| 10 | (in-package :abcl-asdf-test) |
|---|
| 11 | |
|---|
| 12 | (rt:deftest LOG4J.1 |
|---|
| 13 | (let ((result (abcl-asdf:resolve-dependencies "log4j" "log4j"))) |
|---|
| 14 | (and result |
|---|
| 15 | (format *standard-output* "~&~A~%" result) |
|---|
| 16 | (type-p result 'cons))) |
|---|
| 17 | t) |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | (rt:deftest ABCL.1 |
|---|
| 21 | (let ((result (abcl-asdf:resolve-dependencies "org.armedbear.lisp" "abcl"))) |
|---|
| 22 | (and result |
|---|
| 23 | (format *standard-output* "~&~A~%" result) |
|---|
| 24 | (type-p result 'cons))) |
|---|
| 25 | t) |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.