]> gitweb.factorcode.org Git - factor.git/commitdiff
mason.build: only shallow clone latest.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 12 Jan 2023 17:01:17 +0000 (09:01 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 12 Jan 2023 17:01:17 +0000 (09:01 -0800)
extra/mason/build/build.factor

index a4138d9a33de37d79d94ef2f55509e66867cfe0d..73df95c75e39c58fb41a852e2ea27d78e67fba51 100644 (file)
@@ -17,7 +17,8 @@ IN: mason.build
 
 : clone-source ( -- )
     "Cloning GIT repository" print-timestamp
-    "git" "clone" builds-dir get "factor" append-path absolute-path 3array
+    { "git" "clone" "--depth" "1" }
+    builds-dir get "factor" append-path absolute-path suffix
     short-running-process ;
 
 : copy-image ( -- )