src/: Use the `optparse' package in `sod-user'.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 4 Aug 2019 12:54:24 +0000 (13:54 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 4 Aug 2019 12:54:24 +0000 (13:54 +0100)
This involves moving the `optparse' build into the main `sod' system.

doc/list-exports.lisp
src/package.lisp
src/sod-frontend.asd.in
src/sod.asd.in

index f58fb2b..8ef80b8 100755 (executable)
         (parser-files (files (by-name sod "parser")))
         (utilities (by-name sod "utilities"))
         (sod-frontend (asdf:find-system "sod-frontend"))
-        (optparse (by-name sod-frontend "optparse"))
+        (optparse (by-name sod "optparse"))
         (frontend (by-name sod-frontend "frontend"))
-        (sod-files (set-difference (files sod) (list utilities))))
+        (sod-files (set-difference (files sod) (list optparse utilities))))
     (report-symbols (mapcar #'file-name sod-files) "SOD")
     (report-symbols (mapcar #'file-name (list frontend)) "SOD-FRONTEND")
     (report-symbols (mapcar #'file-name parser-files) "SOD-PARSER")
index 9f0179a..13466c8 100644 (file)
@@ -31,6 +31,7 @@
 (cl:defpackage #:sod-user
   (:use #:common-lisp
        #:sod-utilities
+       #:optparse
        #:sod-parser
        #:sod))
 
index 7c7a92c..d508bae 100644 (file)
@@ -56,7 +56,6 @@
   :depends-on ("cl-launch" "sod")
 
   :components
-  ((:file "optparse")
-   (:file "frontend" :depends-on ("optparse"))))
+  ((:file "frontend")))
 
 ;;;----- That's all, folks --------------------------------------------------
index 0755979..eabc504 100644 (file)
@@ -69,6 +69,7 @@
 
   :components
   ((:file "utilities")
+   (:file "optparse")
 
    ;; Parser equipment.  This is way more elaborate than it needs to be, but
    ;; it was interesting, and it may well get split off into a separate