Adds targets config file

This commit is contained in:
Matt Belhorn 2016-07-26 17:09:25 -04:00
parent 458deaae5e
commit 4e6fdd12e2

View File

@ -266,6 +266,19 @@
], },
},},},},},},
'targets': {
'$schema': 'http://json-schema.org/schema#',
'title': 'Spack target configuration file schema',
'type': 'object',
'additionalProperties': False,
'patternProperties': {
r'targets:?': {
'type': 'object',
'default': {},
'additionalProperties': False,
'patternProperties': {
r'\w[\w-]*': { # target name
'type': 'string' ,},},},},},
'modules': {
'$schema': 'http://json-schema.org/schema#',
'title': 'Spack module file configuration file schema',