tests.toml 425 B

123456789101112131415161718192021222324252627282930
  1. [tasks.test_local]
  2. category = "Build"
  3. dependencies = ["rm_cache"]
  4. description = "Build desktop targets."
  5. script = '''
  6. cd rust-lib
  7. cargo test
  8. '''
  9. [tasks.test_remote]
  10. dependencies = ["rm_cache"]
  11. script = """
  12. cd rust-lib
  13. cargo test --features "flowy-folder/http_server","flowy-user/http_server"
  14. """
  15. [tasks.run_server]
  16. script = """
  17. cd backend
  18. cargo run
  19. """
  20. [tasks.rm_cache]
  21. script = """
  22. rm -rf rust-lib/flowy-test/temp
  23. """