! Copyright (C) 2007, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs bootstrap.image hashtables io io.directories
-io.encodings.utf8 io.files io.files.temp io.launcher io.pathnames
-kernel locals make namespaces prettyprint sequences splitting system
-tools.deploy.config tools.deploy.config.editor tools.deploy.embed
-tools.deploy.libraries vocabs.loader vocabs.metadata.resources
+USING: accessors alien.libraries.finder assocs bootstrap.image
+hashtables io io.directories io.encodings.utf8 io.files
+io.files.temp io.launcher io.pathnames kernel locals make
+namespaces prettyprint sequences splitting system
+tools.deploy.config tools.deploy.config.editor
+tools.deploy.embed vocabs.loader vocabs.metadata.resources
webbrowser ;
IN: tools.deploy.backend
ERROR: can't-deploy-library-file library ;
: copy-library ( dir library -- )
- dup find-library-file
+ dup find-library*
[ tuck file-name append-path copy-file ]
[ can't-deploy-library-file ] ?if ;