Skip to content

Commit bd6ce38

Browse files
authored
Merge pull request #91 from ReflectCxx/develop
- fix codecov run on merge. - upload build artifacts. - git permision issue fix.
2 parents 41b94c1 + b22581c commit bd6ce38

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: RTL Build
22

3+
permissions:
4+
contents: write
5+
36
on:
47
pull_request:
58
branches: [ release, develop ]

.github/workflows/coverage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [ release, develop ]
66
paths-ignore:
77
- '**/*.md'
8+
push:
9+
branches: [ release ]
810
workflow_dispatch:
911

1012
jobs:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ auto cxx_mirror = rtl::CxxMirror({ /* ...register all types here... */ });
6262
```
6363
The `cxx_mirror` object provides access to the runtime reflection system. It enables querying, introspection, and instantiation of registered types without requiring compile-time type knowledge at the call site.
6464
It can reside in any translation unit and is initialized on first use. To make it globally accessible in a controlled manner, a singleton interface can be used –
65-
*`(MyReflection.h)`*
6665
```c++
66+
// MyReflection.h
6767
namespace rtl { class CxxMirror; } // Forward declaration, no includes here!
6868
struct cxx { static rtl::CxxMirror& mirror(); }; // The Singleton.
6969
```
7070
define and register everything in an isolated translation unit,
71-
*`(MyReflection.cpp)`*
7271
```c++
72+
// MyReflection.cpp
7373
#include <rtl_builder.h> // Reflection builder interface.
7474

7575
rtl::CxxMirror& cxx::mirror() {

0 commit comments

Comments
 (0)