Handbook
Glossary
deploy-config ( vocab -- assoc )
Factor handbook
»
Developer tools
»
Application deployment
»
Preparing to deploy an application
»
Deployment configuration
Prev:
default-config ( vocab -- assoc )
Next:
set-deploy-config ( assoc vocab -- )
Vocabulary
tools
.
deploy
.
config
.
editor
Inputs
vocab
a vocabulary specifier
Outputs
assoc
an
assoc
Word description
Loads a vocabulary's deployment configuration from the
deploy.factor
file in the vocabulary's directory. If the file does not exist, the
default-config
is output.
Definition
USING:
assocs
kernel
parser
sequences
tools.deploy.config
vocabs.metadata
;
IN:
tools.deploy.config.editor
:
deploy-config
( vocab -- assoc )
[
default-config
]
keep
"deploy.factor"
vocab-file-lines
parse-fresh
[
first
assoc-union
]
unless-empty
;