Fix release.tidy bug

db4
Slava Pestov 2008-11-08 18:29:05 -06:00
parent 1280ed63fe
commit 313cdf4af0
1 changed files with 5 additions and 6 deletions

View File

@ -1,16 +1,14 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel namespaces continuations debugger sequences fry USING: kernel namespaces continuations debugger sequences fry
io.files io.launcher mason.common mason.platform io.files io.launcher bootstrap.image qualified mason.common
mason.config ; mason.config ;
FROM: mason.config => target-os ;
IN: mason.release.tidy IN: mason.release.tidy
: common-files ( -- seq ) : common-files ( -- seq )
images [ boot-image-name ] map
{ {
"boot.x86.32.image"
"boot.x86.64.image"
"boot.macosx-ppc.image"
"boot.linux-ppc.image"
"vm" "vm"
"temp" "temp"
"logs" "logs"
@ -20,7 +18,8 @@ IN: mason.release.tidy
"unmaintained" "unmaintained"
"unfinished" "unfinished"
"build-support" "build-support"
} ; }
append ;
: remove-common-files ( -- ) : remove-common-files ( -- )
common-files [ delete-tree ] each ; common-files [ delete-tree ] each ;