You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.4KB

  1. {
  2. "version": 1,
  3. "packages": {
  4. "catch2": {
  5. "2.12.4": {
  6. "git": {
  7. "url": "https://github.com/catchorg/Catch2.git",
  8. "ref": "v2.12.4",
  9. "auto-lib": "catch2/catch2",
  10. "transform": [
  11. {
  12. "move": {
  13. "from": "include",
  14. "to": "include/catch2",
  15. }
  16. },
  17. {
  18. "copy": {
  19. "from": "include",
  20. "to": "src"
  21. },
  22. write: {
  23. path: 'include/catch2/catch_with_main.hpp',
  24. content: '\
  25. #pragma once \n\
  26. \n\
  27. #define CATCH_CONFIG_MAIN \n\
  28. #include "./catch.hpp" \n\
  29. \n\
  30. namespace Catch { \n\
  31. \n\
  32. CATCH_REGISTER_REPORTER("console", ConsoleReporter) \n\
  33. \n\
  34. } // namespace Catch \n\
  35. '
  36. }
  37. }
  38. ]
  39. }
  40. }
  41. }
  42. }
  43. }