trivial-ppm.asd @ 1320162a9ed0

Add a basic test suite
author Steve Losh <steve@stevelosh.com>
date Thu, 25 Jan 2018 23:14:41 -0500
parents f1ad2033144e
children 05f84301a061
(asdf:defsystem :trivial-ppm
  :description
  "Common Lisp support for reading/writing the PPM/PGM/PBM image formats."

  :author "Steve Losh <steve@stevelosh.com>"
  :homepage "https://sjl.bitbucket.io/trivial-ppm/"
  :license "MIT/X11"
  :version "0.0.1"

  :depends-on (:flexi-streams)

  :in-order-to ((asdf:test-op (asdf:test-op :trivial-ppm/test)))

  :serial t
  :components ((:module "vendor" :serial t
                :components ((:file "quickutils-package")
                             (:file "quickutils")))
               (:file "package")
               (:module "src" :serial t
                :components
                ((:file "main")))))

(asdf:defsystem :trivial-ppm/test
  :description
  "Test suite for trivial-ppm."

  :author "Steve Losh <steve@stevelosh.com>"

  :license "MIT/X11"

  :depends-on (:trivial-ppm :1am)

  :serial t
  :components ((:file "package.test")
               (:module "test"
                :serial t
                :components ((:file "tests"))))
  :perform (asdf:test-op (op system)
             (funcall (read-from-string "trivial-ppm/test:run-tests"))))