|
- {
- "version": 1,
- "packages": {
- "catch2": {
- "2.12.4": {
- "git": {
- "url": "https://github.com/catchorg/Catch2.git",
- "ref": "v2.12.4",
- "auto-lib": "catch2/catch2",
- "transform": [
- {
- "move": {
- "from": "include",
- "to": "include/catch2",
- }
- },
- {
- "copy": {
- "from": "include",
- "to": "src"
- },
- write: {
- path: 'include/catch2/catch_with_main.hpp',
- content: '\
- #pragma once \n\
- \n\
- #define CATCH_CONFIG_MAIN \n\
- #include "./catch.hpp" \n\
- \n\
- namespace Catch { \n\
- \n\
- CATCH_REGISTER_REPORTER("console", ConsoleReporter) \n\
- \n\
- } // namespace Catch \n\
- '
- }
- }
- ]
- }
- }
- }
- }
- }
|