1 USING: kernel namespaces system io.files io.pathnames io.directories
2 bootstrap.image http.client update update.backup update.util ;
5 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7 : git-pull-master ( -- )
10 { "git" "pull" "git://factorcode.org/git/factor.git" "master" }
15 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
17 : remote-latest-image ( -- url )
18 { "http://factorcode.org/images/latest/" my-boot-image-name } to-string ;
20 : download-latest-image ( -- ) remote-latest-image download ;
22 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
24 : rebuild-latest ( -- )
25 image parent-directory
35 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
37 : update-latest ( -- )
38 image parent-directory
49 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!