set-deploy-config ( assoc vocab -- ) (original) (raw)

set-deploy-config ( assoc vocab -- )
Factor handbook » Developer tools » Application deployment » Preparing to deploy an application » Deployment configuration

Prev: deploy-config ( vocab -- assoc )
Next: set-deploy-flag ( value key vocab -- )

Vocabulary
tools.deploy.config.editor

Inputs

assoc an assoc
vocab a vocabulary specifier

Outputs
None

Word description
Stores a vocabulary's deployment configuration to the deploy.factor file in the vocabulary's directory.

Definition

USING: kernel prettyprint prettyprint.config splitting
vocabs.metadata ;

IN: tools.deploy.config.editor

: set-deploy-config ( assoc vocab -- )
[ [ unparse-use ] without-limits split-lines ] dip
"deploy.factor" set-vocab-file-lines ;