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

http://github.com/abeaumont/factor · Factor · 21 lines · 15 code · 2 blank · 4 comment · 0 complexity · c3c7d9d0e2b40b4eb88b4e60a91dad57 MD5 · raw file

  1. USING: io.directories mason.config mason.release.tidy namespaces
  2. sequences system tools.test ;
  3. IN: mason.release.tidy.tests
  4. ! Normally, these words are run in the factor subdirectory
  5. ! of the build directory, and they look for a file named
  6. ! build-support/cleanup there. Use with-directory here to
  7. ! ensure we use the file from the current source tree instead.
  8. "resource:" [
  9. [ f ] [
  10. macosx target-os [
  11. "Factor.app" useless-files member?
  12. ] with-variable
  13. ] unit-test
  14. [ t ] [
  15. linux target-os [
  16. "Factor.app" useless-files member?
  17. ] with-variable
  18. ] unit-test
  19. ] with-directory