aboutsummaryrefslogtreecommitdiff
path: root/consfigurator.asd
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-05-05 08:29:20 -0300
committerSean Whitton <spwhitton@spwhitton.name>2022-05-05 12:26:10 -0700
commit54d75297ea8b190a3b91bd662deb61e670e9f9ef (patch)
treecb0027e12ac3f8de9319ed98c80ea2d721f1f1d7 /consfigurator.asd
parentdd44f19023f4cc9a70b431aff999c9a771b364b1 (diff)
downloadconsfigurator-54d75297ea8b190a3b91bd662deb61e670e9f9ef.tar.gz
add package CONSFIGURATOR.DATA.UTIL
This package is intended to provide a home for utility functions used by multiple data sources. Initially move a local function from CONSFIGURATOR.DATA.FILES-TREE, and slightly generalize it to support an extension or TYPE argument. Note that the goal of LITERAL-DATA-PATHNAME is to map (IDEN1 IDEN2) to existing paths in a user-maintained file hierarchy. This is quite different from DATA-PATHNAME, which escapes various characters to map to a safe internal filename, effectively flattening a directory hierarchy into a single level. Signed-off-by: David Bremner <david@tethera.net>
Diffstat (limited to 'consfigurator.asd')
-rw-r--r--consfigurator.asd2
1 files changed, 2 insertions, 0 deletions
diff --git a/consfigurator.asd b/consfigurator.asd
index 4cfa06e..8048c90 100644
--- a/consfigurator.asd
+++ b/consfigurator.asd
@@ -88,6 +88,7 @@
(:file "src/connection/setuid")
(:file "src/connection/as")
(:file "src/connection/linux-namespace")
+ (:file "src/data/util")
(:file "src/data/asdf")
(:file "src/data/pgp")
(:file "src/data/git-snapshot")
@@ -108,6 +109,7 @@
(:feature :sbcl (:require #:sb-rt))
(:feature (:not :sbcl) #:rt))
:components ((:file "tests/package")
+ (:file "tests/data/util")
(:file "tests/util")
(:file "tests/property/file"))
:perform (test-op (o c) (symbol-call :consfigurator/tests '#:do-tests)))