Coverage report: /home/ellis/comp/core/app/skel/comp/cargo.lisp
Kind | Covered | All | % |
expression | 0 | 24 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; lib/skel/comp/cargo.lisp --- Cargo.toml Components
3
;; Cargo.toml skel components.
7
;; (:sk-rust-system "Cargo.toml")
10
(in-package :skel/comp/cargo)
12
(defparameter *default-cargo-manifest* "Cargo.toml")
13
(defparameter *cargo-manifest-extension* "toml")
15
(defclass sk-rust-system (sk-mod)
16
((config :initarg :config)))
18
(defclass sk-rust-component (sk-component)
21
(defmethod print-object ((object sk-rust-system) stream)
22
(print-unreadable-object (object stream :type t)
23
(format stream ":ID ~A" (format-sxhash (obj/id:id object)))))
25
(defmethod sk-load-component ((kind (eql :rust-system)) (form pathname) &optional (path (project-root)))
26
(declare (ignore kind))
27
(make-instance 'sk-rust-system :config (deserialize (merge-pathnames form path) :toml)))
29
(defmethod sk-compile ((self sk-rust-system) &key &allow-other-keys))
31
(defmethod sk-write-file ((self sk-rust-system) &key path)
32
(declare (ignorable path)))
34
(defmethod sk-read-file ((self sk-rust-system) path))