patch & packaging with nix
This commit is contained in:
parent
85b8a54597
commit
5029a3e3b8
4 changed files with 64 additions and 7 deletions
14
cl-dates.asd
14
cl-dates.asd
|
|
@ -26,12 +26,12 @@
|
|||
|
||||
(in-package :cl-user)
|
||||
|
||||
(defpackage :cl-dates
|
||||
(:use :cl :asdf))
|
||||
;; (defpackage :cl-dates
|
||||
;; (:use :cl :asdf))
|
||||
|
||||
(in-package :cl-dates)
|
||||
;; (in-package :cl-dates)
|
||||
|
||||
(defsystem :cl-dates
|
||||
(asdf:defsystem :cl-dates
|
||||
:version "1.0"
|
||||
:description "Date arithmetic library for Common Lisp"
|
||||
:author "Sudhir Shenoy"
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
(:file "calendar")
|
||||
(:file "bus-date-arith")))
|
||||
|
||||
(defsystem :cl-dates-test
|
||||
(asdf:defsystem :cl-dates-test
|
||||
:description "Date arithmetic library tests"
|
||||
:author "Sudhir Shenoy"
|
||||
:license "BSD"
|
||||
|
|
@ -60,6 +60,6 @@
|
|||
(:file "test-parse-date")
|
||||
(:file "test-hols")))))
|
||||
|
||||
(defmethod perform ((o test-op) (c (eql (find-system :cl-dates))))
|
||||
(operate 'load-op :cl-dates-test)
|
||||
(defmethod asdf:perform ((o asdf:test-op) (c (eql (asdf:find-system :cl-dates))))
|
||||
(asdf:operate 'asdf:load-op :cl-dates-test)
|
||||
(funcall (intern (symbol-name :run-all-tests) (find-package :cl-dates-test))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue