mason.release.tidy: inline the cleanup file into the one place it was used.
parent
ebfa9402d4
commit
90d567d5f2
|
@ -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
|
|
|
@ -1,13 +1,31 @@
|
||||||
! Copyright (C) 2008, 2011 Eduardo Cavazos, Slava Pestov.
|
! Copyright (C) 2008, 2011 Eduardo Cavazos, Slava Pestov.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: bootstrap.image io.directories io.directories.hierarchy
|
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 ;
|
FROM: mason.config => target-os ;
|
||||||
IN: mason.release.tidy
|
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 )
|
: useless-files ( -- seq )
|
||||||
"build-support/cleanup" ascii file-lines
|
cleanup-list image-names [ boot-image-name ] map append
|
||||||
image-names [ boot-image-name ] map append
|
|
||||||
target-os get macosx? [ "Factor.app" suffix ] unless ;
|
target-os get macosx? [ "Factor.app" suffix ] unless ;
|
||||||
|
|
||||||
: tidy ( -- )
|
: tidy ( -- )
|
||||||
|
|
Loading…
Reference in New Issue