1 ! Copyright (C) 2008 James Cash
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: io io.files io.backend kernel namespaces make sequences
4 system tools.deploy.backend tools.deploy.config
5 tools.deploy.config.editor assocs hashtables prettyprint ;
8 : create-app-dir ( vocab bundle-name -- vm )
12 : bundle-name ( -- str )
15 M: unix deploy* ( vocab -- )
18 [ bundle-name create-app-dir ] keep
19 [ bundle-name image-name ] keep
20 namespace make-deploy-image
21 bundle-name normalize-path [ "Binary deployed to " % % "." % ] "" make print