Add goldens directory

This commit is contained in:
Derek Bailey
2023-05-05 13:43:07 -07:00
parent ef5ae488dd
commit 3308444147
9 changed files with 360 additions and 0 deletions

10
goldens/cpp/generate.py Normal file
View File

@@ -0,0 +1,10 @@
from golden_utils import flatc_golden
def flatc(options, schema):
# Wrap the golden flatc generator with C++ specifics
flatc_golden(options=["--cpp"] + options, schema=schema, prefix="cpp")
def GenerateCpp():
flatc([], "basic.fbs")