2011-09-14 23:00:15 -04:00
|
|
|
USING: io.directories mason.config mason.release.tidy namespaces
|
|
|
|
sequences system tools.test ;
|
2008-09-16 00:20:33 -04:00
|
|
|
IN: mason.release.tidy.tests
|
2011-09-14 02:39:16 -04:00
|
|
|
|
2011-09-14 23:00:15 -04:00
|
|
|
! Normally, these words are run in the factor subdirectory
|
|
|
|
! of the build directory, and they look for a file named
|
|
|
|
! build-support/cleanup there. Use with-directory here to
|
|
|
|
! ensure we use the file from the current source tree instead.
|
|
|
|
"resource:" [
|
|
|
|
[ f ] [
|
|
|
|
macosx target-os [
|
|
|
|
"Factor.app" useless-files member?
|
|
|
|
] with-variable
|
|
|
|
] unit-test
|
|
|
|
|
|
|
|
[ t ] [
|
|
|
|
linux target-os [
|
|
|
|
"Factor.app" useless-files member?
|
|
|
|
] with-variable
|
|
|
|
] unit-test
|
|
|
|
] with-directory
|