]> gitweb.factorcode.org Git - factor.git/blobdiff - unmaintained/update/latest/latest.factor
tools.test: Make the flag public. Finish porting tester changes to fuzzer.
[factor.git] / unmaintained / update / latest / latest.factor
index df057422f99a34beed0c8af458b48e615a38f5bf..fea50f54953879315435531a66250d2cbab47c62 100644 (file)
@@ -1,13 +1,11 @@
-
-USING: kernel namespaces system io.files bootstrap.image http.client
-       builder.util update update.backup ;
-
+USING: kernel namespaces system io.files io.pathnames io.directories
+bootstrap.image http.client update update.backup update.util ;
 IN: update.latest
 
 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
 : git-pull-master ( -- )
-  image parent-directory
+  image-path parent-directory
     [
       { "git" "pull" "git://factorcode.org/git/factor.git" "master" }
       run-command
@@ -24,7 +22,7 @@ IN: update.latest
 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
 : rebuild-latest ( -- )
-  image parent-directory
+  image-path parent-directory
     [
       backup
       download-latest-image
@@ -37,7 +35,7 @@ IN: update.latest
 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
 : update-latest ( -- )
-  image parent-directory
+  image-path parent-directory
     [
       git-id
       git-pull-master
@@ -50,4 +48,4 @@ IN: update.latest
 
 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
-MAIN: update-latest
\ No newline at end of file
+MAIN: update-latest