1 ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: arrays calendar io.directories io.encodings.utf8
4 io.files io.launcher mason.child mason.cleanup mason.common
5 mason.email mason.help mason.release mason.report namespaces
9 : create-build-dir ( -- )
10 now datestamp stamp set
11 build-dir make-directory ;
13 : enter-build-dir ( -- ) build-dir set-current-directory ;
15 : clone-builds-factor ( -- )
16 "git" "clone" builds/factor 3array try-process ;
19 "factor" [ git-id ] with-directory "git-id" to-file ;