Changeset 15016
- Timestamp:
- 05/23/17 11:00:30 (6 years ago)
- Location:
- trunk/abcl/contrib/abcl-build
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abcl/contrib/abcl-build/abcl-build.asd
r15012 r15016 4 4 (defsystem abcl-build 5 5 :version "2.0.0" 6 :description "Build ABCL from a Lisp. Downloads necessary build-time tools to local cache ."6 :description "Build ABCL from a Lisp. Downloads necessary build-time tools to local cache if not available on system." 7 7 :in-order-to ((test-op (test-op abcl-build-tests))) 8 8 :components ((:module package -
trunk/abcl/contrib/abcl-build/build/ant.lisp
r15009 r15016 5 5 #p"http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.zip" 6 6 7 #+ nil;; https on OPEN fails; probably attempting to upgrade7 #+(or) ;; https on OPEN fails; probably attempting to upgrade 8 8 #p"https://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.zip" 9 9 10 #+ nil;; need apache-ant-1.9 for JVM version 49.010 #+(or) ;; need apache-ant-1.9 for JVM version 49.0 11 11 #p"http://www-eu.apache.org/dist/ant/binaries/apache-ant-1.10.1-bin.zip") 12 12 13 13 (defun xdg/ant-executable () 14 (probe-file 15 (localize-executable-name 16 (merge-pathnames #p"bin/ant" 17 (xdg/abcl-install-root (ant-zip-uri)))))) 14 (let* ((uri (ant-zip-uri)) 15 (directory (xdg/abcl-install-root uri)) 16 (ant-root-name (let ((name (pathname-name uri))) 17 (subseq name 0 (- (length name) (length "-bin"))))) 18 (ant-home (merge-pathnames (make-pathname :directory `(:relative ,ant-root-name)) 19 directory))) 20 (values 21 (probe-file 22 (localize-executable-name 23 (merge-pathnames #p"bin/ant" ant-home))) 24 ant-home))) 18 25 19 26 (defun ant/install () -
trunk/abcl/contrib/abcl-build/build/package.lisp
r15009 r15016 32 32 #:download 33 33 34 #:xdg/ant-executable 34 35 #:with-ensured-ant 35 36 #:ant/install -
trunk/abcl/contrib/abcl-build/build/t/abcl-build.lisp
r15009 r15016 1 1 (in-package :abcl/build/t) 2 2 3 (prove:plan 2) 4 (prove:diag "Testing BUILD-ABCLâŠ") 5 (prove:ok 6 (abcl-build:build-abcl)) 7 (prove:diag "Testing MAKE-DISTâŠ") 8 (prove:ok 9 (abcl-build:make-dist (format nil "test-" (random (expt 2 32))))) 10 11 #+abcl-build-test-more 12 (progn 13 (prove:plan 1) 14 (prove:ok (abcl-build:build-abcl :clean t))) 15 16 #+abcl-build-test-more 17 (progn 18 (prove:plan 1) 19 (abcl-build:build-abcl :force t)) 3 (if (not (ignore-errors (asdf:find-system :abcl))) 4 (prove:diag "Unable to find 'abcl.asd'.~&Enable ASDF to find 'abcl.asd' by adding symlink to ~/common-lisp/ to ABCL source directory.") 5 (prove:subtest "Testing BUILD-ABCL." 6 (prove:plan 2) 7 (prove:ok 8 (abcl-build:build-abcl) 9 "Testing BUILD-ABCLâŠ") 10 (prove:diag ) 11 (prove:ok 12 (abcl-build:make-dist (format nil "test-" (random (expt 2 32)))) 13 "Testing MAKE-DISTâŠ") 14 #+abcl-build-test-more 15 (progn 16 (prove:ok 17 (abcl-build:build-abcl :clean t) 18 "Testing BUILD:ABCL cleanâŠ")) 19 #+abcl-build-test-more 20 (prove:ok 21 (abcl-build:build-abcl :force t) 22 "Testing BUILD-ABCL forceâŠ"))) 20 23 21 24 (prove:finalize) -
trunk/abcl/contrib/abcl-build/build/t/ant.lisp
r15009 r15016 5 5 (prove:ok (build-abcl:ant/install)) 6 6 7 (prove:plan 1) 8 (let ((antfile (asdf:system-relative-pathname :abcl "build.xml"))) 9 (prove:diag (format nil "Testing invocation of private Ant on main ABCL build artifact at ~&~2,t~aâŠ" 10 antfile)) 11 (prove:ok (abcl-build:ant/call antfile "abcl.diagnostic"))) 12 7 (if (not (ignore-errors (asdf:find-system :abcl))) 8 (prove:diag "Unable to find 'abcl.asd'.~&Enable ASDF to find 'abcl.asd' by adding symlink to ~~/common-lisp/ to ABCL source directory.") 9 (let ((ant-file (asdf:system-relative-pathname :abcl "build.xml"))) 10 (prove:plan 1) 11 (prove:ok 12 (abcl-build:ant/call ant-file "abcl.diagnostic") 13 (format nil "Testing invocation of private Ant on main ABCL build artifact at ~&~2,t~aâŠ" ant-file)))) 14 13 15 (prove:finalize)
Note: See TracChangeset
for help on using the changeset viewer.