factor/extra/mason/release/tidy/tidy-tests.factor

22 lines
642 B
Factor
Raw Normal View History

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
! 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.
[
[ 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-resource-directory