]> gitweb.factorcode.org Git - factor.git/commitdiff
mason.release.tidy: inline the cleanup file into the one place it was used.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 15 Mar 2016 02:31:27 +0000 (19:31 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 15 Mar 2016 02:31:27 +0000 (19:31 -0700)
build-support/cleanup [deleted file]
extra/mason/release/tidy/tidy.factor

diff --git a/build-support/cleanup b/build-support/cleanup
deleted file mode 100644 (file)
index b52a942..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-vm
-temp
-logs
-.git
-.gitignore
-GNUmakefile
-Nmakefile
-unmaintained
-build-support
-images
-factor.dll.exp
-factor.dll.lib
-factor.exp
-factor.lib
-libfactor-ffi-test.exp
-libfactor-ffi-test.lib
index 5a6f9c2b790305c3d3dbd9165a93fa4d8cc6ad24..87a9e7d8619019b1926167f7bc460fec438576f6 100644 (file)
@@ -1,13 +1,31 @@
 ! Copyright (C) 2008, 2011 Eduardo Cavazos, Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: bootstrap.image io.directories io.directories.hierarchy
-io.encodings.ascii io.files kernel namespaces sequences system ;
+io.files kernel namespaces sequences system ;
 FROM: mason.config => target-os ;
 IN: mason.release.tidy
 
+CONSTANT: cleanup-list {
+    "vm"
+    "temp"
+    "logs"
+    ".git"
+    ".gitignore"
+    "GNUmakefile"
+    "Nmakefile"
+    "unmaintained"
+    "build-support"
+    "images"
+    "factor.dll.exp"
+    "factor.dll.lib"
+    "factor.exp"
+    "factor.lib"
+    "libfactor-ffi-test.exp"
+    "libfactor-ffi-test.lib"
+}
+
 : useless-files ( -- seq )
-    "build-support/cleanup" ascii file-lines
-    image-names [ boot-image-name ] map append
+    cleanup-list image-names [ boot-image-name ] map append
     target-os get macosx? [ "Factor.app" suffix ] unless ;
 
 : tidy ( -- )