Coverage report: /home/ellis/comp/core/app/skel/comp/cargo.lisp

KindCoveredAll%
expression024 0.0
branch00nil
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
2
 
3
 ;; Cargo.toml skel components.
4
 
5
 ;;; Commentary:
6
 
7
 ;; (:sk-rust-system "Cargo.toml")
8
 
9
 ;;; Code:
10
 (in-package :skel/comp/cargo)
11
 
12
 (defparameter *default-cargo-manifest* "Cargo.toml")
13
 (defparameter *cargo-manifest-extension* "toml")
14
 
15
 (defclass sk-rust-system (sk-mod) 
16
   ((config :initarg :config)))
17
 
18
 (defclass sk-rust-component (sk-component)
19
   (type value))
20
 
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)))))
24
 
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)))
28
 
29
 (defmethod sk-compile ((self sk-rust-system) &key &allow-other-keys))
30
 
31
 (defmethod sk-write-file ((self sk-rust-system) &key path)
32
   (declare (ignorable path)))
33
 
34
 (defmethod sk-read-file ((self sk-rust-system) path))