tools.deploy.backend: with-variables need to be on the whole block

db4
Björn Lindqvist 2014-09-28 22:53:56 +02:00
parent 07dd28c94d
commit 8d6df6d128
1 changed files with 8 additions and 5 deletions

View File

@ -119,11 +119,14 @@ DEFER: ?make-staging-image
:: make-deploy-image ( vm image vocab config -- manifest )
make-boot-image
config [ bootstrap-profile ?make-staging-image ] with-variables
vocab "vocab-manifest-" prepend temp-file :> manifest-file
image vocab manifest-file bootstrap-profile deploy-command-line :> flags
vm flags run-factor
manifest-file parse-vocab-manifest-file ;
config [
bootstrap-profile :> profile
vocab "vocab-manifest-" prepend temp-file :> manifest-file
image vocab manifest-file profile deploy-command-line :> flags
profile ?make-staging-image
vm flags run-factor
manifest-file parse-vocab-manifest-file
] with-variables ;
:: make-deploy-image-executable ( vm image vocab config -- manifest )
vm image vocab config make-deploy-image