summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-09-19 20:11:22 +0200
committerGitHub <noreply@github.com>2024-09-19 20:11:22 +0200
commitdb7aece1863757997626fd7aa1ce9cc59ae9552b (patch)
treea78f22005bf84854a8d5c924c9d91668111fdf5e
parent0e9f131b441e07830c976711d90db172eeedb150 (diff)
downloadspack-db7aece1863757997626fd7aa1ce9cc59ae9552b.tar.gz
spack-db7aece1863757997626fd7aa1ce9cc59ae9552b.tar.bz2
spack-db7aece1863757997626fd7aa1ce9cc59ae9552b.tar.xz
spack-db7aece1863757997626fd7aa1ce9cc59ae9552b.zip
require spec in develop entry (#46485)
-rw-r--r--lib/spack/spack/schema/develop.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/schema/develop.py b/lib/spack/spack/schema/develop.py
index 13391dcdb0..8db1220e63 100644
--- a/lib/spack/spack/schema/develop.py
+++ b/lib/spack/spack/schema/develop.py
@@ -13,6 +13,7 @@ properties: Dict[str, Any] = {
r"\w[\w-]*": {
"type": "object",
"additionalProperties": False,
+ "required": ["spec"],
"properties": {"spec": {"type": "string"}, "path": {"type": "string"}},
}
},